feat: move tasks to stores

This commit is contained in:
Dominik Pschenitschni 2022-09-23 11:45:52 +02:00
parent 9856fab38f
commit 1fdda07f65
No known key found for this signature in database
GPG key ID: B257AC0149F43A77
2 changed files with 2 additions and 4 deletions

View file

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

View file

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