X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/9fed03a84c6ef5234d61f7d62c93f7629da2409d..7f2af309d0184d3515a1f910bbcb6435f5cd58fb:/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;