[arvados-workbench2] updated: 2.7.0-230-g05005a40

git repository hosting git at public.arvados.org
Thu Nov 30 19:00:57 UTC 2023


Summary of changes:
 src/components/data-table/data-table.tsx | 3 +++
 1 file changed, 3 insertions(+)

       via  05005a40d574d97ff9e77b31098332b0d05be08b (commit)
      from  79b9d798b16384d7429124ab99ff5bf54ec36411 (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 05005a40d574d97ff9e77b31098332b0d05be08b
Author: Lisa Knox <lisaknox83 at gmail.com>
Date:   Thu Nov 30 14:00:53 2023 -0500

    21128: checkboxes dont preserve through URL changes anymore Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox at curii.com>

diff --git a/src/components/data-table/data-table.tsx b/src/components/data-table/data-table.tsx
index 24cd9140..84d377bb 100644
--- a/src/components/data-table/data-table.tsx
+++ b/src/components/data-table/data-table.tsx
@@ -155,6 +155,9 @@ export const DataTable = withStyles(styles)(
                 if (items.length) this.initializeCheckedList(items);
                 else setCheckedListOnStore({});
             }
+            if (prevProps.currentRoute !== this.props.currentRoute) {
+                this.initializeCheckedList([])
+            }
         }
 
         componentWillUnmount(): void {

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list