feature/feat-pinia-task-store | pinia 7/9 #2409

Merged
konrad merged 2 commits from dpschen/frontend:feature/feat-pinia-task-store into main 2022-09-30 11:17:20 +00:00
2 changed files with 2 additions and 4 deletions
Showing only changes of commit 1fdda07f65 - Show all commits

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'
dpschen marked this conversation as resolved Outdated

Can you use @ here for the imports?

Can you use `@` here for the imports?

I left that for 34b9b2a315 (diff-ab7455b2612e9ac43f45f7bb8a4bf872e2e6b171) since I remove the store there completely

I left that for https://kolaente.dev/vikunja/frontend/commit/34b9b2a3159ef8a5222309ba69354517d5d7690c#diff-ab7455b2612e9ac43f45f7bb8a4bf872e2e6b171 since I remove the store there completely
import {getQuickAddMagicMode} from '@/helpers/quickAddMagicMode'
import {parseTaskText} from '@/modules/parseTaskText'