X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/c0afd448c39a41d229612afe47643aed7a2cf5dd..7f2b1bb658a39caff2aea1378c7d192499e950fc:/src/store/dialog/dialog-actions.ts diff --git a/src/store/dialog/dialog-actions.ts b/src/store/dialog/dialog-actions.ts index df4418f4..22629b69 100644 --- a/src/store/dialog/dialog-actions.ts +++ b/src/store/dialog/dialog-actions.ts @@ -2,14 +2,11 @@ // // 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 }>(), CLOSE_DIALOG: ofType<{ id: string }>() -}, { - tag: 'type', - value: 'payload' - }); +}); export type DialogAction = UnionOf;