projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '15020-collection-with-the-same-content-adress'
[arvados-workbench2.git]
/
src
/
store
/
dialog
/
dialog-actions.ts
diff --git
a/src/store/dialog/dialog-actions.ts
b/src/store/dialog/dialog-actions.ts
index df4418f41363b32ba92e75b12c5a07547ee9b06d..ce01a50d6919285190974570e254e14841989061 100644
(file)
--- a/
src/store/dialog/dialog-actions.ts
+++ b/
src/store/dialog/dialog-actions.ts
@@
-2,14
+2,12
@@
//
// SPDX-License-Identifier: AGPL-3.0
//
// SPDX-License-Identifier: AGPL-3.0
-import {
default as unionize, ofType, UnionOf } from "
unionize";
+import {
unionize, ofType, UnionOf } from "~/common/
unionize";
export const dialogActions = unionize({
OPEN_DIALOG: ofType<{ id: string, data: any }>(),
export const dialogActions = unionize({
OPEN_DIALOG: ofType<{ id: string, data: any }>(),
- CLOSE_DIALOG: ofType<{ id: string }>()
-}, {
- tag: 'type',
- value: 'payload'
- });
+ CLOSE_DIALOG: ofType<{ id: string }>(),
+ CLOSE_ALL_DIALOGS: ofType<{}>()
+});
export type DialogAction = UnionOf<typeof dialogActions>;
export type DialogAction = UnionOf<typeof dialogActions>;