diff options
author | Markandan R <rmarkandan@yahoo.com> | 2021-06-13 19:57:23 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-13 19:57:23 +0530 |
commit | d7b2ea8ce137afe0540307e59a3f13c658df8a0b (patch) | |
tree | 9980e9de0c0dd9bf97242061fff6f1163ad69dc0 /src/features/workspaces | |
parent | Pass --publish never for PR builds (#1521) (diff) | |
download | ferdium-app-d7b2ea8ce137afe0540307e59a3f13c658df8a0b.tar.gz ferdium-app-d7b2ea8ce137afe0540307e59a3f13c658df8a0b.tar.zst ferdium-app-d7b2ea8ce137afe0540307e59a3f13c658df8a0b.zip |
Diffstat (limited to 'src/features/workspaces')
-rw-r--r-- | src/features/workspaces/constants.js | 6 | ||||
-rw-r--r-- | src/features/workspaces/index.js | 8 | ||||
-rw-r--r-- | src/features/workspaces/store.js | 2 |
3 files changed, 7 insertions, 9 deletions
diff --git a/src/features/workspaces/constants.js b/src/features/workspaces/constants.js new file mode 100644 index 000000000..413afa1e8 --- /dev/null +++ b/src/features/workspaces/constants.js | |||
@@ -0,0 +1,6 @@ | |||
1 | export const WORKSPACES_ROUTES = { | ||
2 | ROOT: '/settings/workspaces', | ||
3 | EDIT: '/settings/workspaces/:action/:id', | ||
4 | }; | ||
5 | |||
6 | export const GA_CATEGORY_WORKSPACES = 'Workspaces'; | ||
diff --git a/src/features/workspaces/index.js b/src/features/workspaces/index.js index 560b732ab..3db6de5b2 100644 --- a/src/features/workspaces/index.js +++ b/src/features/workspaces/index.js | |||
@@ -4,9 +4,6 @@ import { resetApiRequests } from './api'; | |||
4 | 4 | ||
5 | const debug = require('debug')('Ferdi:feature:workspaces'); | 5 | const debug = require('debug')('Ferdi:feature:workspaces'); |
6 | 6 | ||
7 | export const GA_CATEGORY_WORKSPACES = 'Workspaces'; | ||
8 | export const DEFAULT_SETTING_KEEP_ALL_WORKSPACES_LOADED = false; | ||
9 | |||
10 | export const workspaceStore = new WorkspacesStore(); | 7 | export const workspaceStore = new WorkspacesStore(); |
11 | 8 | ||
12 | export default function initWorkspaces(stores, actions) { | 9 | export default function initWorkspaces(stores, actions) { |
@@ -31,8 +28,3 @@ export default function initWorkspaces(stores, actions) { | |||
31 | }, | 28 | }, |
32 | ); | 29 | ); |
33 | } | 30 | } |
34 | |||
35 | export const WORKSPACES_ROUTES = { | ||
36 | ROOT: '/settings/workspaces', | ||
37 | EDIT: '/settings/workspaces/:action/:id', | ||
38 | }; | ||
diff --git a/src/features/workspaces/store.js b/src/features/workspaces/store.js index 5c90ff180..bddcb6eb4 100644 --- a/src/features/workspaces/store.js +++ b/src/features/workspaces/store.js | |||
@@ -13,7 +13,7 @@ import { | |||
13 | getUserWorkspacesRequest, | 13 | getUserWorkspacesRequest, |
14 | updateWorkspaceRequest, | 14 | updateWorkspaceRequest, |
15 | } from './api'; | 15 | } from './api'; |
16 | import { WORKSPACES_ROUTES } from './index'; | 16 | import { WORKSPACES_ROUTES } from './constants'; |
17 | import { createReactions } from '../../stores/lib/Reaction'; | 17 | import { createReactions } from '../../stores/lib/Reaction'; |
18 | import { createActionBindings } from '../utils/ActionBinding'; | 18 | import { createActionBindings } from '../utils/ActionBinding'; |
19 | 19 | ||