[arvados] updated: 2.7.0-5857-gf9921028b6

git repository hosting git at public.arvados.org
Wed Feb 7 17:14:24 UTC 2024


Summary of changes:
 .../src/views-components/main-content-bar/main-content-bar.tsx       | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

       via  f9921028b6031789bd0a8f9db229a79256d8dbab (commit)
      from  f6b20392acf0cd3727e71775c25c29a4dba99988 (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 f9921028b6031789bd0a8f9db229a79256d8dbab
Author: Lisa Knox <lisaknox83 at gmail.com>
Date:   Wed Feb 7 12:14:20 2024 -0500

    21224: fixed info button first click fail 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 3f4de301f2..45da54cc71 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
@@ -34,6 +34,7 @@ interface MainContentBarProps {
     onRefreshPage: () => void;
     onDetailsPanelToggle: () => void;
     buttonVisible: boolean;
+    projectUuid: string;
 }
 
 const isButtonVisible = ({ router }: RootState) => {
@@ -59,7 +60,7 @@ const mapStateToProps = (state: RootState) => ({
 });
 
 const mapDispatchToProps = () => (dispatch: Dispatch) => ({
-    onDetailsPanelToggle: () => dispatch<any>(toggleDetailsPanel()),
+    onDetailsPanelToggle: (uuid: string) => dispatch<any>(toggleDetailsPanel(uuid)),
     onRefreshButtonClick: (id) => {
         dispatch<any>(loadSidePanelTreeProjects(id));
     }
@@ -81,7 +82,7 @@ export const MainContentBar = connect(mapStateToProps, mapDispatchToProps)(withS
                     <IconButton data-cy="additional-info-icon"
                         color="inherit"
                         className={props.classes.infoTooltip}
-                        onClick={props.onDetailsPanelToggle}>
+                        onClick={()=>props.onDetailsPanelToggle(props.projectUuid)}>
                         <DetailsIcon />
                     </IconButton>
                 </Tooltip>}

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list