19836: Added security state check
[arvados.git] / src / store / collections-content-address-panel / collections-content-address-panel-actions.ts
1 // Copyright (C) The Arvados Authors. All rights reserved.
2 //
3 // SPDX-License-Identifier: AGPL-3.0
4
5 import { Dispatch } from "redux";
6 import { bindDataExplorerActions } from 'store/data-explorer/data-explorer-action';
7
8 export const COLLECTIONS_CONTENT_ADDRESS_PANEL_ID = 'collectionsContentAddressPanel';
9
10 export const collectionsContentAddressActions = bindDataExplorerActions(COLLECTIONS_CONTENT_ADDRESS_PANEL_ID);
11
12 export const loadCollectionsContentAddressPanel = () =>
13     (dispatch: Dispatch) => {
14         dispatch(collectionsContentAddressActions.REQUEST_ITEMS());
15     };