diff options
author | 2019-03-26 15:26:20 +0100 | |
---|---|---|
committer | 2019-03-26 15:26:20 +0100 | |
commit | a2e4316879908c5bc2c38cef81eef9152476b6f6 (patch) | |
tree | 0542dc53ea28dd26a7b6b1731c856eb2887582d8 /src/features/workspaces/containers/WorkspacesScreen.js | |
parent | handle get workspaces request errors in the ui (diff) | |
download | ferdium-app-a2e4316879908c5bc2c38cef81eef9152476b6f6.tar.gz ferdium-app-a2e4316879908c5bc2c38cef81eef9152476b6f6.tar.zst ferdium-app-a2e4316879908c5bc2c38cef81eef9152476b6f6.zip |
show infobox when updating workspaces
Diffstat (limited to 'src/features/workspaces/containers/WorkspacesScreen.js')
-rw-r--r-- | src/features/workspaces/containers/WorkspacesScreen.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/features/workspaces/containers/WorkspacesScreen.js b/src/features/workspaces/containers/WorkspacesScreen.js index 89bd2a2ef..3f41de0c2 100644 --- a/src/features/workspaces/containers/WorkspacesScreen.js +++ b/src/features/workspaces/containers/WorkspacesScreen.js | |||
@@ -4,7 +4,7 @@ import PropTypes from 'prop-types'; | |||
4 | import WorkspacesDashboard from '../components/WorkspacesDashboard'; | 4 | import WorkspacesDashboard from '../components/WorkspacesDashboard'; |
5 | import ErrorBoundary from '../../../components/util/ErrorBoundary'; | 5 | import ErrorBoundary from '../../../components/util/ErrorBoundary'; |
6 | import { workspaceStore } from '../index'; | 6 | import { workspaceStore } from '../index'; |
7 | import { getUserWorkspacesRequest } from '../api'; | 7 | import { getUserWorkspacesRequest, updateWorkspaceRequest } from '../api'; |
8 | 8 | ||
9 | @inject('actions') @observer | 9 | @inject('actions') @observer |
10 | class WorkspacesScreen extends Component { | 10 | class WorkspacesScreen extends Component { |
@@ -23,6 +23,7 @@ class WorkspacesScreen extends Component { | |||
23 | <WorkspacesDashboard | 23 | <WorkspacesDashboard |
24 | workspaces={workspaceStore.workspaces} | 24 | workspaces={workspaceStore.workspaces} |
25 | getUserWorkspacesRequest={getUserWorkspacesRequest} | 25 | getUserWorkspacesRequest={getUserWorkspacesRequest} |
26 | updateWorkspaceRequest={updateWorkspaceRequest} | ||
26 | onCreateWorkspaceSubmit={data => actions.workspaces.create(data)} | 27 | onCreateWorkspaceSubmit={data => actions.workspaces.create(data)} |
27 | onWorkspaceClick={w => actions.workspaces.edit({ workspace: w })} | 28 | onWorkspaceClick={w => actions.workspaces.edit({ workspace: w })} |
28 | /> | 29 | /> |