feat: move tasks to stores
This commit is contained in:
parent
9856fab38f
commit
1fdda07f65
2 changed files with 2 additions and 4 deletions
|
@ -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,
|
||||||
|
|
|
@ -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'
|
||||||
|
|
Loading…
Reference in a new issue