X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/a2bf1ed3a15cf55e426c51ad8e6febd7ff2e3020..HEAD:/src/store/shared-with-me-panel/shared-with-me-panel-actions.ts diff --git a/src/store/shared-with-me-panel/shared-with-me-panel-actions.ts b/src/store/shared-with-me-panel/shared-with-me-panel-actions.ts index 2553086a..616bd005 100644 --- a/src/store/shared-with-me-panel/shared-with-me-panel-actions.ts +++ b/src/store/shared-with-me-panel/shared-with-me-panel-actions.ts @@ -2,17 +2,12 @@ // // SPDX-License-Identifier: AGPL-3.0 +import { Dispatch } from "redux"; import { bindDataExplorerActions } from "../data-explorer/data-explorer-action"; -import { Dispatch } from 'redux'; -import { ServiceRepository } from "~/services/services"; -import { RootState } from '~/store/store'; export const SHARED_WITH_ME_PANEL_ID = "sharedWithMePanel"; export const sharedWithMePanelActions = bindDataExplorerActions(SHARED_WITH_ME_PANEL_ID); - -export const loadSharedWithMePanel = () => - (dispatch: Dispatch, getState: () => RootState, services: ServiceRepository) => { - dispatch(sharedWithMePanelActions.REQUEST_ITEMS()); - }; - - +export const loadSharedWithMePanel = () => (dispatch: Dispatch) => { + dispatch(sharedWithMePanelActions.RESET_EXPLORER_SEARCH_VALUE()); + dispatch(sharedWithMePanelActions.REQUEST_ITEMS()); +}; \ No newline at end of file