15768: removed close button Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox...
authorLisa Knox <lisaknox83@gmail.com>
Wed, 10 May 2023 14:44:40 +0000 (10:44 -0400)
committerLisa Knox <lisaknox83@gmail.com>
Wed, 10 May 2023 14:44:40 +0000 (10:44 -0400)
src/components/data-table-multiselect-popover/data-table-multiselect-popover.tsx
src/components/data-table/data-table.tsx

index ae2eda41c1f861108df88e57728211e8c244868d..6ff1338482511448e0771c394b9da917e133faf3 100644 (file)
@@ -37,7 +37,7 @@ const styles: StyleRulesCallback<CssRules> = (theme: Theme) => ({
         paddingBottom: 5,
     },
     optionsContainer: {
-        paddingTop: '1rem',
+        padding: '1rem 0',
         flex: 1,
     },
     option: {
@@ -109,11 +109,11 @@ export const DataTableMultiselectPopover = withStyles(styles)(
                                         </div>
                                     ))}
                             </div>
-                            <CardActions>
+                            {/* <CardActions>
                                 <Button color='primary' variant='outlined' size='small' onClick={this.close}>
                                     Close
                                 </Button>
-                            </CardActions>
+                            </CardActions> */}
                         </Card>
                     </Popover>
                     <this.MountHandler />
index 2f0cf410052f28c21783eb729b68505c78414543..e241fd207782eada1b46b441f1afc2f720f8cbf8 100644 (file)
@@ -154,7 +154,6 @@ export const DataTable = withStyles(styles)(
             }
             if (prevState.checkedList !== checkedList) {
                 toggleMSToolbar(this.isAnySelected() ? true : false);
-                window.localStorage.setItem('selectedRows', JSON.stringify(checkedList));
             }
         }
 
@@ -195,7 +194,6 @@ export const DataTable = withStyles(styles)(
                 }
             }
             this.setState({ checkedList: newCheckedList });
-            window.localStorage.setItem('selectedRows', JSON.stringify(newCheckedList));
         };
 
         isAllSelected = (list: TCheckedList): boolean => {