diff options
Diffstat (limited to 'src/features/workspaces/components/WorkspacesDashboard.tsx')
-rw-r--r-- | src/features/workspaces/components/WorkspacesDashboard.tsx | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/src/features/workspaces/components/WorkspacesDashboard.tsx b/src/features/workspaces/components/WorkspacesDashboard.tsx index 8fb2cf923..ad54c6682 100644 --- a/src/features/workspaces/components/WorkspacesDashboard.tsx +++ b/src/features/workspaces/components/WorkspacesDashboard.tsx | |||
@@ -105,33 +105,33 @@ class WorkspacesDashboard extends Component<IProps> { | |||
105 | <div className="settings__body"> | 105 | <div className="settings__body"> |
106 | {/* ===== Workspace updated info ===== */} | 106 | {/* ===== Workspace updated info ===== */} |
107 | {updateWorkspaceRequest.wasExecuted && | 107 | {updateWorkspaceRequest.wasExecuted && |
108 | updateWorkspaceRequest.result && ( | 108 | updateWorkspaceRequest.result ? ( |
109 | <Appear className={classes.appear}> | 109 | <Appear className={classes.appear}> |
110 | <Infobox | 110 | <Infobox |
111 | type="success" | 111 | type="success" |
112 | icon="checkbox-marked-circle-outline" | 112 | icon="checkbox-marked-circle-outline" |
113 | dismissible | 113 | dismissible |
114 | onUnmount={updateWorkspaceRequest.reset} | 114 | onUnmount={updateWorkspaceRequest.reset} |
115 | > | 115 | > |
116 | {intl.formatMessage(messages.updatedInfo)} | 116 | {intl.formatMessage(messages.updatedInfo)} |
117 | </Infobox> | 117 | </Infobox> |
118 | </Appear> | 118 | </Appear> |
119 | )} | 119 | ) : null} |
120 | 120 | ||
121 | {/* ===== Workspace deleted info ===== */} | 121 | {/* ===== Workspace deleted info ===== */} |
122 | {deleteWorkspaceRequest.wasExecuted && | 122 | {deleteWorkspaceRequest.wasExecuted && |
123 | deleteWorkspaceRequest.result && ( | 123 | deleteWorkspaceRequest.result ? ( |
124 | <Appear className={classes.appear}> | 124 | <Appear className={classes.appear}> |
125 | <Infobox | 125 | <Infobox |
126 | type="success" | 126 | type="success" |
127 | icon="checkbox-marked-circle-outline" | 127 | icon="checkbox-marked-circle-outline" |
128 | dismissible | 128 | dismissible |
129 | onUnmount={deleteWorkspaceRequest.reset} | 129 | onUnmount={deleteWorkspaceRequest.reset} |
130 | > | 130 | > |
131 | {intl.formatMessage(messages.deletedInfo)} | 131 | {intl.formatMessage(messages.deletedInfo)} |
132 | </Infobox> | 132 | </Infobox> |
133 | </Appear> | 133 | </Appear> |
134 | )} | 134 | ) : null} |
135 | 135 | ||
136 | {/* ===== Create workspace form ===== */} | 136 | {/* ===== Create workspace form ===== */} |
137 | <div className={classes.createForm}> | 137 | <div className={classes.createForm}> |
@@ -169,7 +169,7 @@ class WorkspacesDashboard extends Component<IProps> { | |||
169 | </p> | 169 | </p> |
170 | </div> | 170 | </div> |
171 | ) : ( | 171 | ) : ( |
172 | <table className={classes.table} role="grid"> | 172 | <table className={classes.table}> |
173 | {/* ===== Workspaces list ===== */} | 173 | {/* ===== Workspaces list ===== */} |
174 | <tbody> | 174 | <tbody> |
175 | {workspaces.map(workspace => ( | 175 | {workspaces.map(workspace => ( |