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,
|
||||
} 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,
|
||||
|
|
|
@ -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'
|
||||
|
Loading…
Reference in a new issue