feat: move namespaces store to stores

This commit is contained in:
Dominik Pschenitschni 2022-09-02 10:20:25 +02:00
parent 1c58fccd92
commit 9474240cb9
No known key found for this signature in database
GPG key ID: B257AC0149F43A77
2 changed files with 1 additions and 3 deletions

View file

@ -15,7 +15,6 @@ import {
} from './mutation-types' } from './mutation-types'
import config from './modules/config' import config from './modules/config'
import auth from './modules/auth' import auth from './modules/auth'
import namespaces from './modules/namespaces'
import kanban from './modules/kanban' import kanban from './modules/kanban'
import tasks from './modules/tasks' import tasks from './modules/tasks'
import attachments from './modules/attachments' import attachments from './modules/attachments'
@ -39,7 +38,6 @@ export const store = createStore<RootStoreState>({
modules: { modules: {
config, config,
auth, auth,
namespaces,
kanban, kanban,
tasks, tasks,
attachments, attachments,

View file

@ -1,6 +1,6 @@
import type { Module } from 'vuex' import type { Module } from 'vuex'
import NamespaceService from '../../services/namespace' import NamespaceService from '../services/namespace'
import {setLoading} from '@/store/helper' import {setLoading} from '@/store/helper'
import {createNewIndexer} from '@/indexes' import {createNewIndexer} from '@/indexes'
import type {NamespaceState, RootStoreState} from '@/store/types' import type {NamespaceState, RootStoreState} from '@/store/types'