[arvados] updated: 2.7.0-6058-ge14803fa6a

git repository hosting git at public.arvados.org
Thu Mar 21 14:55:20 UTC 2024


Summary of changes:
 .../workbench2/src/views-components/details-panel/details-panel.tsx | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

       via  e14803fa6aaa2a6c0b942fd9e0bb40290f612a85 (commit)
      from  e99e454b4134724fecc12cb53549a99b19849f02 (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 e14803fa6aaa2a6c0b942fd9e0bb40290f612a85
Author: Lisa Knox <lisaknox83 at gmail.com>
Date:   Thu Mar 21 10:55:13 2024 -0400

    21224: updated selectedUuid param in details panel Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox at curii.com>

diff --git a/services/workbench2/src/views-components/details-panel/details-panel.tsx b/services/workbench2/src/views-components/details-panel/details-panel.tsx
index d8c8be09fd..157fe81c40 100644
--- a/services/workbench2/src/views-components/details-panel/details-panel.tsx
+++ b/services/workbench2/src/views-components/details-panel/details-panel.tsx
@@ -84,9 +84,8 @@ const getItem = (res: DetailsResource): DetailsData => {
     }
 };
 
-const mapStateToProps = ({ auth, detailsPanel, resources, collectionPanelFiles, selectedResourceUuid: selectedResource }: RootState) => {
-    const currentItemUuid = selectedResource;
-    const resource = getResource(currentItemUuid)(resources) as DetailsResource | undefined;
+const mapStateToProps = ({ auth, detailsPanel, resources, collectionPanelFiles, selectedResourceUuid }: RootState) => {
+    const resource = getResource(selectedResourceUuid)(resources) as DetailsResource | undefined;
     const file = resource
         ? undefined
         : getNode(detailsPanel.resourceUuid)(collectionPanelFiles);
@@ -102,7 +101,6 @@ const mapStateToProps = ({ auth, detailsPanel, resources, collectionPanelFiles,
         isOpened: detailsPanel.isOpened,
         tabNr: detailsPanel.tabNr,
         res: resource || (file && file.value) || EMPTY_RESOURCE,
-        currentItemUuid
     };
 };
 

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list