21128: fixed checkboxes not refreshing Arvados-DCO-1.1-Signed-off-by: Lisa Knox ...
authorLisa Knox <lisaknox83@gmail.com>
Mon, 27 Nov 2023 15:25:08 +0000 (10:25 -0500)
committerLisa Knox <lisaknox83@gmail.com>
Mon, 27 Nov 2023 15:25:08 +0000 (10:25 -0500)
src/components/data-table/data-table.tsx

index 155d772f85855ddd86a90ecc7842065d543e830f..24cd91403aebce649c3f893814745daabfb7f139 100644 (file)
@@ -157,6 +157,10 @@ export const DataTable = withStyles(styles)(
             }
         }
 
+        componentWillUnmount(): void {
+            this.initializeCheckedList([])
+        }
+
         checkBoxColumn: DataColumn<any, any> = {
             name: "checkBoxColumn",
             selected: true,