[arvados] updated: 2.7.0-5859-g3e781e5e9c
git repository hosting
git at public.arvados.org
Wed Feb 7 19:59:08 UTC 2024
Summary of changes:
.../src/views-components/main-content-bar/main-content-bar.tsx | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
via 3e781e5e9c39a1256b6032559d27a8a3832a177b (commit)
from ff86da6187049aad3595e8a3b5b8bd5b079c2bbe (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 3e781e5e9c39a1256b6032559d27a8a3832a177b
Author: Lisa Knox <lisaknox83 at gmail.com>
Date: Wed Feb 7 14:59:05 2024 -0500
21224: refresh works as expected Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox at curii.com>
diff --git a/services/workbench2/src/views-components/main-content-bar/main-content-bar.tsx b/services/workbench2/src/views-components/main-content-bar/main-content-bar.tsx
index 8a32eff5c8..98d16c81d4 100644
--- a/services/workbench2/src/views-components/main-content-bar/main-content-bar.tsx
+++ b/services/workbench2/src/views-components/main-content-bar/main-content-bar.tsx
@@ -35,7 +35,6 @@ interface MainContentBarProps {
onDetailsPanelToggle: () => void;
buttonVisible: boolean;
projectUuid: string;
- routeUuid: string;
}
const isButtonVisible = ({ router }: RootState) => {
@@ -57,12 +56,11 @@ const isButtonVisible = ({ router }: RootState) => {
const mapStateToProps = (state: RootState) => {
const currentRoute = state.router.location?.pathname.split('/') || [];
- const routeUuid = currentRoute[currentRoute.length - 1];
+ const projectUuid = currentRoute[currentRoute.length - 1];
return {
buttonVisible: isButtonVisible(state),
- projectUuid: state.detailsPanel.resourceUuid,
- routeUuid
+ projectUuid,
}
};
@@ -89,7 +87,7 @@ export const MainContentBar = connect(mapStateToProps, mapDispatchToProps)(withS
<IconButton data-cy="additional-info-icon"
color="inherit"
className={props.classes.infoTooltip}
- onClick={()=>props.onDetailsPanelToggle(props.routeUuid)}>
+ onClick={()=>props.onDetailsPanelToggle(props.projectUuid)}>
<DetailsIcon />
</IconButton>
</Tooltip>}
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list