[arvados] updated: 2.7.0-5862-g5a858213eb

git repository hosting git at public.arvados.org
Thu Feb 8 14:21:24 UTC 2024


Summary of changes:
 services/workbench2/src/store/details-panel/details-panel-action.ts | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

       via  5a858213eb471c685204b7a65b4e23ca1eb98d72 (commit)
      from  0d96b998073c51d1328a11e1d867ae1cf1cc5f9e (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 5a858213eb471c685204b7a65b4e23ca1eb98d72
Author: Lisa Knox <lisaknox83 at gmail.com>
Date:   Thu Feb 8 09:21:17 2024 -0500

    21224: fixed random info button fail Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox at curii.com>

diff --git a/services/workbench2/src/store/details-panel/details-panel-action.ts b/services/workbench2/src/store/details-panel/details-panel-action.ts
index 6cf599720d..1367d44613 100644
--- a/services/workbench2/src/store/details-panel/details-panel-action.ts
+++ b/services/workbench2/src/store/details-panel/details-panel-action.ts
@@ -68,12 +68,9 @@ export const refreshCollectionVersionsList = (uuid: string) =>
 
 export const toggleDetailsPanel = (uuid: string = '') => (dispatch: Dispatch, getState: () => RootState) => {
     const { detailsPanel, router }= getState()
-    const currentRoute = router.location?.pathname.split('/') || [];
-    const currentItemUuid = currentRoute[currentRoute.length - 1];
-    console.log('toggleDetailsPanel', uuid, detailsPanel.resourceUuid, currentItemUuid)
     // because of material-ui issue resizing details panel breaks tabs.
     // triggering window resize event fixes that.
-    if(uuid !== detailsPanel.resourceUuid  && (detailsPanel.isOpened || uuid === currentItemUuid)){
+    if(uuid !== detailsPanel.resourceUuid  && detailsPanel.isOpened){
         dispatch<any>(loadDetailsPanel(uuid));
     } else {
         setTimeout(() => {

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list