//
// SPDX-License-Identifier: AGPL-3.0
+import { Dispatch } from "redux";
import { bindDataExplorerActions } from "store/data-explorer/data-explorer-action";
export const PUBLIC_FAVORITE_PANEL_ID = "publicFavoritePanel";
export const publicFavoritePanelActions = bindDataExplorerActions(PUBLIC_FAVORITE_PANEL_ID);
-export const loadPublicFavoritePanel = () => publicFavoritePanelActions.REQUEST_ITEMS();
\ No newline at end of file
+export const loadPublicFavoritePanel = () => (dispatch: Dispatch) => {
+ dispatch(publicFavoritePanelActions.RESET_EXPLORER_SEARCH_VALUE());
+ dispatch(publicFavoritePanelActions.REQUEST_ITEMS());
+};
\ No newline at end of file