aboutsummaryrefslogtreecommitdiffstats
path: root/src/stores/index.js
diff options
context:
space:
mode:
authorLibravatar Dominik Guzei <dominik.guzei@gmail.com>2019-04-11 16:44:16 +0200
committerLibravatar Dominik Guzei <dominik.guzei@gmail.com>2019-04-11 16:44:16 +0200
commiteaf4aff646eed56e65c8dd8e70143ab5634ad4b4 (patch)
treeae400dca67edfd828a30da1e11d7e5e507785860 /src/stores/index.js
parentrefactor announcements to newest feature pattern (diff)
downloadferdium-app-eaf4aff646eed56e65c8dd8e70143ab5634ad4b4.tar.gz
ferdium-app-eaf4aff646eed56e65c8dd8e70143ab5634ad4b4.tar.zst
ferdium-app-eaf4aff646eed56e65c8dd8e70143ab5634ad4b4.zip
WIP: announcement feature and workspace fixes
Diffstat (limited to 'src/stores/index.js')
-rw-r--r--src/stores/index.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/stores/index.js b/src/stores/index.js
index 96b844c95..1912418a2 100644
--- a/src/stores/index.js
+++ b/src/stores/index.js
@@ -10,6 +10,8 @@ import PaymentStore from './PaymentStore';
10import NewsStore from './NewsStore'; 10import NewsStore from './NewsStore';
11import RequestStore from './RequestStore'; 11import RequestStore from './RequestStore';
12import GlobalErrorStore from './GlobalErrorStore'; 12import GlobalErrorStore from './GlobalErrorStore';
13import { workspaceStore } from '../features/workspaces';
14import { announcementsStore } from '../features/announcements';
13 15
14export default (api, actions, router) => { 16export default (api, actions, router) => {
15 const stores = {}; 17 const stores = {};
@@ -27,6 +29,8 @@ export default (api, actions, router) => {
27 news: new NewsStore(stores, api, actions), 29 news: new NewsStore(stores, api, actions),
28 requests: new RequestStore(stores, api, actions), 30 requests: new RequestStore(stores, api, actions),
29 globalError: new GlobalErrorStore(stores, api, actions), 31 globalError: new GlobalErrorStore(stores, api, actions),
32 workspaces: workspaceStore,
33 announcements: announcementsStore,
30 }); 34 });
31 // Initialize all stores 35 // Initialize all stores
32 Object.keys(stores).forEach((name) => { 36 Object.keys(stores).forEach((name) => {