[arvados] updated: 2.7.0-6102-g077d6648a4

git repository hosting git at public.arvados.org
Fri Mar 1 20:46:40 UTC 2024


Summary of changes:
 services/workbench2/src/store/workbench/workbench-actions.ts | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

       via  077d6648a4622d2f7e206b2ac76a3f01a60113ae (commit)
      from  9f7943df047aa10bb4b796f0f9780c29bf854332 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 077d6648a4622d2f7e206b2ac76a3f01a60113ae
Author: Lisa Knox <lisaknox83 at gmail.com>
Date:   Fri Mar 1 15:46:33 2024 -0500

    21412: restored previous correct breadcrumbs Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox at curii.com>

diff --git a/services/workbench2/src/store/workbench/workbench-actions.ts b/services/workbench2/src/store/workbench/workbench-actions.ts
index 83c457f94d..83c51f978a 100644
--- a/services/workbench2/src/store/workbench/workbench-actions.ts
+++ b/services/workbench2/src/store/workbench/workbench-actions.ts
@@ -105,6 +105,7 @@ import { deselectOne } from "store/multiselect/multiselect-actions";
 import { treePickerActions } from "store/tree-picker/tree-picker-actions";
 import { workflowProcessesPanelColumns } from "views/workflow-panel/workflow-processes-panel-root";
 import { workflowProcessesPanelActions } from "store/workflow-panel/workflow-panel-actions";
+import { Breadcrumb } from "components/breadcrumbs/breadcrumbs";
 
 export const WORKBENCH_LOADING_SCREEN = "workbenchLoadingScreen";
 
@@ -247,7 +248,10 @@ export const loadProject = (uuid: string) =>
             if (extractUuidKind(uuid) === ResourceKind.USER && userUuid !== uuid) {
                 // Load another users home projects
                 dispatch(finishLoadingProject(uuid));
-                dispatch<any>(setSidePanelBreadcrumbs(uuid));
+                const prevBreadcrumbs = getState().properties.breadcrumbs as Breadcrumb[] || [];
+                if (prevBreadcrumbs.length === 0) {
+                    dispatch<any>(setSidePanelBreadcrumbs(uuid));
+                }
             } else if (userUuid !== uuid) {
                 await dispatch(finishLoadingProject(uuid));
                 const match = await loadGroupContentsResource({

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list