X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/25216cc7acedc987c26a159f0b640210c0ef101e..55608b9321ee5d257ccc702d370e42367ac71895:/src/store/search-bar/search-bar-tree-actions.ts diff --git a/src/store/search-bar/search-bar-tree-actions.ts b/src/store/search-bar/search-bar-tree-actions.ts index 6ab25d6ea5..7d05a320fe 100644 --- a/src/store/search-bar/search-bar-tree-actions.ts +++ b/src/store/search-bar/search-bar-tree-actions.ts @@ -66,8 +66,10 @@ export const expandSearchBarTreeItem = (id: string) => }; export const activateSearchBarProject = (id: string) => - async (dispatch: Dispatch, getState: () => RootState) => { - const { treePicker } = getState(); + async (dispatch: Dispatch, getState: () => RootState, services: ServiceRepository) => { + + + /*const { treePicker } = getState(); const node = getSearchBarTreeNode(id)(treePicker); if (node && node.status !== TreeNodeStatus.LOADED) { await dispatch(loadSearchBarTreeProjects(id)); @@ -78,7 +80,7 @@ export const activateSearchBarProject = (id: string) => ids: getSearchBarTreeNodeAncestorsIds(id)(treePicker), pickerId: SEARCH_BAR_ADVANCED_FORM_PICKER_ID })); - dispatch(expandSearchBarTreeItem(id)); + dispatch(expandSearchBarTreeItem(id));*/ };