[arvados-workbench2] updated: 2.4.0-214-g1671375f

git repository hosting git at public.arvados.org
Thu Sep 22 20:18:02 UTC 2022


Summary of changes:
 src/components/collection-panel-files/collection-panel-files.tsx | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

       via  1671375fc47aa0be6f3e8ea41a4756729d0f00b4 (commit)
      from  c2291072ba2e0aa545b1b3f2075bead431fd65b7 (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 1671375fc47aa0be6f3e8ea41a4756729d0f00b4
Author: Daniel Kutyła <daniel.kutyla at contractors.roche.com>
Date:   Thu Sep 22 22:17:27 2022 +0200

    18692: Collection panel changes
    
    Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła <daniel.kutyla at contractors.roche.com>

diff --git a/src/components/collection-panel-files/collection-panel-files.tsx b/src/components/collection-panel-files/collection-panel-files.tsx
index 4b631a6a..06c3504a 100644
--- a/src/components/collection-panel-files/collection-panel-files.tsx
+++ b/src/components/collection-panel-files/collection-panel-files.tsx
@@ -328,12 +328,7 @@ export const CollectionPanelFiles = withStyles(styles)(connect((state: RootState
     const currentPDH = (collectionPanel.item || {}).portableDataHash;
     React.useEffect(() => {
         if (currentPDH) {
-            // Avoid fetching the same content level twice
-            if (leftKey !== rightKey) {
-                fetchData([leftKey, rightKey], true);
-            } else {
-                fetchData(rightKey, true);
-            }
+            fetchData([leftKey, rightKey], true);
         }
     }, [currentPDH]); // eslint-disable-line react-hooks/exhaustive-deps
 

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list