projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
21128: fixed frozen move error handler Arvados-DCO-1.1-Signed-off-by: Lisa Knox ...
[arvados-workbench2.git]
/
src
/
store
/
workbench
/
workbench-actions.ts
diff --git
a/src/store/workbench/workbench-actions.ts
b/src/store/workbench/workbench-actions.ts
index f2dae2c524c3221daac423cfdca622feb0d8efb2..72b818fd0f8256200fdc10a74fa03bfca86e01cc 100644
(file)
--- a/
src/store/workbench/workbench-actions.ts
+++ b/
src/store/workbench/workbench-actions.ts
@@
-334,7
+334,7
@@
export const moveProject =
} catch (e) {
dispatch(
snackbarActions.OPEN_SNACKBAR({
- message: e.message,
+ message:
!!(project as any).frozenByUuid ? 'Could not move frozen project.' :
e.message,
hideDuration: 2000,
kind: SnackbarKind.ERROR,
})