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 "../data-explorer/data-explorer-action";
8 export const SHARED_WITH_ME_PANEL_ID = "sharedWithMePanel";
9 export const sharedWithMePanelActions = bindDataExplorerActions(SHARED_WITH_ME_PANEL_ID);
10 export const loadSharedWithMePanel = () => (dispatch: Dispatch) => {
11 dispatch(sharedWithMePanelActions.RESET_EXPLORER_SEARCH_VALUE());
12 dispatch(sharedWithMePanelActions.REQUEST_ITEMS());