projects
/
arvados-workbench2.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
21128: checkboxes dont preserve through URL changes anymore Arvados-DCO-1.1-Signed...
[arvados-workbench2.git]
/
src
/
components
/
data-table
/
data-table.tsx
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 {