aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/workspaces/components/WorkspaceSwitchingIndicator.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/features/workspaces/components/WorkspaceSwitchingIndicator.js')
-rw-r--r--src/features/workspaces/components/WorkspaceSwitchingIndicator.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/features/workspaces/components/WorkspaceSwitchingIndicator.js b/src/features/workspaces/components/WorkspaceSwitchingIndicator.js
index 68ce6fd87..c012ab008 100644
--- a/src/features/workspaces/components/WorkspaceSwitchingIndicator.js
+++ b/src/features/workspaces/components/WorkspaceSwitchingIndicator.js
@@ -5,8 +5,8 @@ import injectSheet from 'react-jss';
5import classnames from 'classnames'; 5import classnames from 'classnames';
6import { defineMessages, intlShape } from 'react-intl'; 6import { defineMessages, intlShape } from 'react-intl';
7 7
8import { workspacesState } from '../state';
9import LoaderComponent from '../../../components/ui/Loader'; 8import LoaderComponent from '../../../components/ui/Loader';
9import { workspaceStore } from '../index';
10 10
11const messages = defineMessages({ 11const messages = defineMessages({
12 switchingTo: { 12 switchingTo: {
@@ -56,7 +56,7 @@ class WorkspaceSwitchingIndicator extends Component {
56 render() { 56 render() {
57 const { classes } = this.props; 57 const { classes } = this.props;
58 const { intl } = this.context; 58 const { intl } = this.context;
59 const { isSwitchingWorkspace, isWorkspaceDrawerOpen, nextWorkspace } = workspacesState; 59 const { isSwitchingWorkspace, isWorkspaceDrawerOpen, nextWorkspace } = workspaceStore;
60 if (!isSwitchingWorkspace) return null; 60 if (!isSwitchingWorkspace) return null;
61 const nextWorkspaceName = nextWorkspace ? nextWorkspace.name : 'All services'; 61 const nextWorkspaceName = nextWorkspace ? nextWorkspace.name : 'All services';
62 return ( 62 return (