refs #master Merge branch 'origin/master' into 14280-query-language
[arvados.git] / src / store / favorite-panel / favorite-panel-action.ts
index 48dd19ccde79ed78d06abac6152b2a7136dcb3d6..067d5ceedb90bbbdc6f947d5b6b2afe5fe2fbf00 100644 (file)
@@ -3,6 +3,8 @@
 // SPDX-License-Identifier: AGPL-3.0
 
 import { bindDataExplorerActions } from "../data-explorer/data-explorer-action";
-import { FavoritePanelMiddlewareService } from "./favorite-panel-middleware-service";
 
-export const favoritePanelActions = bindDataExplorerActions(FavoritePanelMiddlewareService.getInstance());
+export const FAVORITE_PANEL_ID = "favoritePanel";
+export const favoritePanelActions = bindDataExplorerActions(FAVORITE_PANEL_ID);
+
+export const loadFavoritePanel = () => favoritePanelActions.REQUEST_ITEMS();