[arvados] updated: 2.7.0-6103-g9d3abfdbf7

git repository hosting git at public.arvados.org
Tue Mar 5 14:21:35 UTC 2024


Summary of changes:
 services/workbench2/src/store/breadcrumbs/breadcrumbs-actions.ts | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

       via  9d3abfdbf7babd7a791132d963adbd39d41e3196 (commit)
      from  077d6648a4622d2f7e206b2ac76a3f01a60113ae (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 9d3abfdbf7babd7a791132d963adbd39d41e3196
Author: Lisa Knox <lisaknox83 at gmail.com>
Date:   Tue Mar 5 09:21:21 2024 -0500

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

diff --git a/services/workbench2/src/store/breadcrumbs/breadcrumbs-actions.ts b/services/workbench2/src/store/breadcrumbs/breadcrumbs-actions.ts
index 501850d2c3..067d79766f 100644
--- a/services/workbench2/src/store/breadcrumbs/breadcrumbs-actions.ts
+++ b/services/workbench2/src/store/breadcrumbs/breadcrumbs-actions.ts
@@ -282,11 +282,7 @@ export const setUserProfileBreadcrumbs = (userUuid: string) =>
                 { label: USERS_PANEL_LABEL, uuid: USERS_PANEL_LABEL },
                 { label: user ? `${user.firstName} ${user.lastName}` : userUuid, uuid: userUuid },
             ];    
-            const breadcrumbsWithPreviousCrumbs: Breadcrumb[] = [
-                ...currentCrumbs,
-                { label: user ? `${user.firstName} ${user.lastName}` : userUuid, uuid: userUuid },
-            ];
-            dispatch(setBreadcrumbs(currentCrumbs.some((crumb) => crumb.label === SidePanelTreeCategory.GROUPS) ? breadcrumbsWithPreviousCrumbs : userProfileBreadcrumbs));
+            dispatch(setBreadcrumbs(userProfileBreadcrumbs));
         } catch (e) {
             const breadcrumbs: Breadcrumb[] = [
                 { label: USERS_PANEL_LABEL, uuid: USERS_PANEL_LABEL },

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list