[ARVADOS-WORKBENCH2] created: 2.2.1-106-gc55292bc
Git user
git at public.arvados.org
Thu Oct 7 04:16:32 UTC 2021
at c55292bc91bd2e0ba8b84356eecf65259b8ea0cf (commit)
commit c55292bc91bd2e0ba8b84356eecf65259b8ea0cf
Author: Stephen Smith <stephen at curii.com>
Date: Thu Oct 7 00:15:48 2021 -0400
18123: Add Groups page to sidebar
Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen at curii.com>
diff --git a/src/store/navigation/navigation-action.ts b/src/store/navigation/navigation-action.ts
index 97082e5a..19cc36ae 100644
--- a/src/store/navigation/navigation-action.ts
+++ b/src/store/navigation/navigation-action.ts
@@ -9,7 +9,6 @@ import { SidePanelTreeCategory } from '../side-panel-tree/side-panel-tree-action
import { Routes, getProcessLogUrl, getGroupUrl, getNavUrl } from 'routes/routes';
import { RootState } from 'store/store';
import { ServiceRepository } from 'services/services';
-import { GROUPS_PANEL_LABEL } from 'store/breadcrumbs/breadcrumbs-actions';
import { pluginConfig } from 'plugins';
import { snackbarActions, SnackbarKind } from 'store/snackbar/snackbar-actions';
@@ -64,7 +63,7 @@ export const navigateTo = (uuid: string) =>
case SidePanelTreeCategory.TRASH:
dispatch(navigateToTrash);
return;
- case GROUPS_PANEL_LABEL:
+ case SidePanelTreeCategory.GROUPS:
dispatch(navigateToGroups);
return;
case SidePanelTreeCategory.ALL_PROCESSES:
diff --git a/src/store/side-panel-tree/side-panel-tree-actions.ts b/src/store/side-panel-tree/side-panel-tree-actions.ts
index 66521f35..895fe79c 100644
--- a/src/store/side-panel-tree/side-panel-tree-actions.ts
+++ b/src/store/side-panel-tree/side-panel-tree-actions.ts
@@ -26,7 +26,8 @@ export enum SidePanelTreeCategory {
WORKFLOWS = 'Workflows',
FAVORITES = 'My Favorites',
TRASH = 'Trash',
- ALL_PROCESSES = 'All Processes'
+ ALL_PROCESSES = 'All Processes',
+ GROUPS = 'Groups',
}
export const SIDE_PANEL_TREE = 'sidePanelTree';
@@ -52,6 +53,7 @@ let SIDE_PANEL_CATEGORIES: string[] = [
SidePanelTreeCategory.PUBLIC_FAVORITES,
SidePanelTreeCategory.FAVORITES,
SidePanelTreeCategory.WORKFLOWS,
+ SidePanelTreeCategory.GROUPS,
SidePanelTreeCategory.ALL_PROCESSES,
SidePanelTreeCategory.TRASH
];
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list