X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/ada23a4054724d0d6be4ee88efb22daecd86001f..2d9dcf3d61d410328e081b5b00c7175c7eb1d82b:/src/store/collections-content-address-panel/collections-content-address-panel-actions.ts diff --git a/src/store/collections-content-address-panel/collections-content-address-panel-actions.ts b/src/store/collections-content-address-panel/collections-content-address-panel-actions.ts new file mode 100644 index 00000000..11f1a8cc --- /dev/null +++ b/src/store/collections-content-address-panel/collections-content-address-panel-actions.ts @@ -0,0 +1,15 @@ +// Copyright (C) The Arvados Authors. All rights reserved. +// +// SPDX-License-Identifier: AGPL-3.0 + +import { Dispatch } from "redux"; +import { bindDataExplorerActions } from '~/store/data-explorer/data-explorer-action'; + +export const COLLECTIONS_CONTENT_ADDRESS_PANEL_ID = 'collectionsContentAddressPanel'; + +export const collectionsContentAddressActions = bindDataExplorerActions(COLLECTIONS_CONTENT_ADDRESS_PANEL_ID); + +export const loadCollectionsContentAddressPanel = () => + (dispatch: Dispatch) => { + dispatch(collectionsContentAddressActions.REQUEST_ITEMS()); + };