From 9474240cb9159a0e1b42f82cb492cc267782ce4f Mon Sep 17 00:00:00 2001 From: Dominik Pschenitschni Date: Fri, 2 Sep 2022 10:20:25 +0200 Subject: [PATCH] feat: move namespaces store to stores --- src/store/index.ts | 2 -- src/{store/modules => stores}/namespaces.ts | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) rename src/{store/modules => stores}/namespaces.ts (98%) diff --git a/src/store/index.ts b/src/store/index.ts index 605d070a0..6fa534079 100644 --- a/src/store/index.ts +++ b/src/store/index.ts @@ -15,7 +15,6 @@ import { } from './mutation-types' import config from './modules/config' import auth from './modules/auth' -import namespaces from './modules/namespaces' import kanban from './modules/kanban' import tasks from './modules/tasks' import attachments from './modules/attachments' @@ -39,7 +38,6 @@ export const store = createStore({ modules: { config, auth, - namespaces, kanban, tasks, attachments, diff --git a/src/store/modules/namespaces.ts b/src/stores/namespaces.ts similarity index 98% rename from src/store/modules/namespaces.ts rename to src/stores/namespaces.ts index 74545a35a..ed7eb9916 100644 --- a/src/store/modules/namespaces.ts +++ b/src/stores/namespaces.ts @@ -1,6 +1,6 @@ import type { Module } from 'vuex' -import NamespaceService from '../../services/namespace' +import NamespaceService from '../services/namespace' import {setLoading} from '@/store/helper' import {createNewIndexer} from '@/indexes' import type {NamespaceState, RootStoreState} from '@/store/types'