[ARVADOS-WORKBENCH2] updated: 1.2.0-383-gf4ad575
Git user
git at public.curoverse.com
Mon Sep 17 06:26:52 EDT 2018
Summary of changes:
src/store/breadcrumbs/breadcrumbs-actions.ts | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
via f4ad575d90e25defd2a98a3e52566f00a0322cc8 (commit)
from a189d04efc7e3d8f7a66f7302ac1fda346c40a4e (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 f4ad575d90e25defd2a98a3e52566f00a0322cc8
Author: Michal Klobukowski <michal.klobukowski at contractors.roche.com>
Date: Mon Sep 17 12:26:36 2018 +0200
Fix incorrect highlight when in home project
Feature #13751
Arvados-DCO-1.1-Signed-off-by: Michal Klobukowski <michal.klobukowski at contractors.roche.com>
diff --git a/src/store/breadcrumbs/breadcrumbs-actions.ts b/src/store/breadcrumbs/breadcrumbs-actions.ts
index 94f45aa..4ac07b3 100644
--- a/src/store/breadcrumbs/breadcrumbs-actions.ts
+++ b/src/store/breadcrumbs/breadcrumbs-actions.ts
@@ -58,7 +58,8 @@ export const setSharedWithMeBreadcrumbs = (uuid: string) =>
export const setProjectBreadcrumbs = (uuid: string) =>
(dispatch: Dispatch<any>, getState: () => RootState, services: ServiceRepository) => {
const ancestors = getSidePanelTreeNodeAncestorsIds(uuid)(getState().treePicker);
- if (ancestors.find(uuid => uuid === services.authService.getUuid())) {
+ const rootUuid = services.authService.getUuid();
+ if (uuid === rootUuid ||ancestors.find(uuid => uuid === rootUuid)) {
dispatch(setSidePanelBreadcrumbs(uuid));
} else {
dispatch(setSharedWithMeBreadcrumbs(uuid));
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list