feat: move tasks to stores

This commit is contained in:
Dominik Pschenitschni 2022-09-23 11:45:52 +02:00
parent 9856fab38f
commit 1fdda07f65
Signed by: dpschen
GPG Key ID: B257AC0149F43A77
2 changed files with 2 additions and 4 deletions

View File

@ -14,7 +14,6 @@ import {
QUICK_ACTIONS_ACTIVE,
} from './mutation-types'
import kanban from './modules/kanban'
import tasks from './modules/tasks'
import ListModel from '@/models/list'
@ -35,7 +34,6 @@ export const store = createStore<RootStoreState>({
strict: import.meta.env.DEV,
modules: {
kanban,
tasks,
},
state: () => ({
loading: false,

View File

@ -7,8 +7,8 @@ import TaskAssigneeService from '@/services/taskAssignee'
import LabelTaskService from '@/services/labelTask'
import UserService from '@/services/user'
import {HAS_TASKS} from '../mutation-types'
import {setLoading} from '../helper'
import {HAS_TASKS} from '../store/mutation-types'
import {setLoading} from '../store/helper'
import {getQuickAddMagicMode} from '@/helpers/quickAddMagicMode'
import {parseTaskText} from '@/modules/parseTaskText'