[arvados] created: 2.7.0-6099-g0d753912c2
git repository hosting
git at public.arvados.org
Fri Mar 1 19:20:19 UTC 2024
at 0d753912c2fa8f53f1d5c2e6251b7a25caeb3499 (commit)
commit 0d753912c2fa8f53f1d5c2e6251b7a25caeb3499
Author: Lisa Knox <lisaknox83 at gmail.com>
Date: Fri Mar 1 14:20:03 2024 -0500
21412: username breadcrumb now renders on refresh 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 f4ab112446..69554676e7 100644
--- a/services/workbench2/src/store/breadcrumbs/breadcrumbs-actions.ts
+++ b/services/workbench2/src/store/breadcrumbs/breadcrumbs-actions.ts
@@ -269,7 +269,7 @@ export const setUserProfileBreadcrumbs = (userUuid: string) =>
try {
const user = getResource<UserResource>(userUuid)(getState().resources)
|| await services.userService.get(userUuid, false);
- const currentCrumbs = getState().properties.breadcrumbs as Breadcrumb[]
+ const currentCrumbs = getState().properties.breadcrumbs as Breadcrumb[] || [];
const userProfileBreadcrumbs: Breadcrumb[] = [
{ label: USERS_PANEL_LABEL, uuid: USERS_PANEL_LABEL },
{ label: user ? `${user.firstName} ${user.lastName}` : userUuid, uuid: userUuid },
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list