projects
/
arvados-workbench2.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79b9d79
)
21128: checkboxes dont preserve through URL changes anymore Arvados-DCO-1.1-Signed...
author
Lisa Knox <lisaknox83@gmail.com>
Thu, 30 Nov 2023 19:00:53 +0000
(14:00 -0500)
committer
Lisa Knox <lisaknox83@gmail.com>
Thu, 30 Nov 2023 19:00:53 +0000
(14:00 -0500)
src/components/data-table/data-table.tsx
patch
|
blob
|
history
diff --git
a/src/components/data-table/data-table.tsx
b/src/components/data-table/data-table.tsx
index 24cd91403aebce649c3f893814745daabfb7f139..84d377bba13fb74ab89701a259f3615bf08d127b 100644
(file)
--- 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 {