1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
5 import { Dispatch } from "redux";
6 import { bindDataExplorerActions } from "store/data-explorer/data-explorer-action";
8 export const TRASH_PANEL_ID = "trashPanel";
9 export const trashPanelActions = bindDataExplorerActions(TRASH_PANEL_ID);
11 export const loadTrashPanel = () => (dispatch: Dispatch) => {
12 dispatch(trashPanelActions.RESET_EXPLORER_SEARCH_VALUE());
13 dispatch(trashPanelActions.REQUEST_ITEMS());