fix imports

This commit is contained in:
Dominik Pschenitschni 2022-09-30 19:17:36 +02:00
parent c7a3c18972
commit 6cb8d7a3f5
No known key found for this signature in database
GPG key ID: B257AC0149F43A77

View file

@ -40,8 +40,8 @@ import TaskCollectionService from '@/services/taskCollection'
import TaskService from '@/services/task' import TaskService from '@/services/task'
import {format, parse} from 'date-fns' import {format, parse} from 'date-fns'
import {colorIsDark} from '@/helpers/color/colorIsDark' import {colorIsDark} from '@/helpers/color/colorIsDark'
import {useStore} from 'vuex' import {useStore} from '@/store'
import Rights from '@/models/constants/rights.json' import {RIGHTS} from '@/constants/rights'
import TaskModel from '@/models/task' import TaskModel from '@/models/task'
import {useRouter} from 'vue-router' import {useRouter} from 'vue-router'
import Loading from '@/components/misc/loading.vue' import Loading from '@/components/misc/loading.vue'
@ -125,7 +125,7 @@ const ganttChartWidth = computed(() => {
return dateDiff * DAY_WIDTH_PIXELS return dateDiff * DAY_WIDTH_PIXELS
}) })
const canWrite = computed(() => store.state.currentList.maxRight > Rights.READ) const canWrite = computed(() => store.state.currentList.maxRight > RIGHTS.READ)
const tasks = ref<Map<TaskModel['id'], TaskModel>>(new Map()) const tasks = ref<Map<TaskModel['id'], TaskModel>>(new Map())
const ganttBars = ref<GanttBarObject[][]>([]) const ganttBars = ref<GanttBarObject[][]>([])