feat: move namespaces store to stores
This commit is contained in:
parent
1c58fccd92
commit
9474240cb9
2 changed files with 1 additions and 3 deletions
|
@ -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,
|
||||||
|
|
|
@ -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'
|
Loading…
Reference in a new issue