1
0

feat: improve models

This commit is contained in:
Dominik Pschenitschni
2022-09-06 11:36:01 +02:00
committed by Gitea
parent 61427987c2
commit 1a11b43ca8
95 changed files with 198 additions and 139 deletions

View File

@ -153,7 +153,7 @@ import {ALPHABETICAL_SORT} from '@/components/list/partials/filters.vue'
import draggable from 'zhyswan-vuedraggable'
import {calculateItemPosition} from '../../helpers/calculateItemPosition'
import type { ITask } from '@/models/task'
import type {ITask} from '@/modelTypes/ITask'
function sortTasks(tasks: ITask[]) {
if (tasks === null || Array.isArray(tasks) && tasks.length === 0) {