15768: cleanup Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox@curii.com>
authorLisa Knox <lisaknox83@gmail.com>
Tue, 2 May 2023 16:50:27 +0000 (12:50 -0400)
committerLisa Knox <lisaknox83@gmail.com>
Tue, 2 May 2023 16:50:27 +0000 (12:50 -0400)
src/components/data-table-multiselect-popover/data-table-multiselect-popover.tsx
src/components/data-table/data-table.tsx

index a23ed79ff2953d9120169c996265b2a479f32bba..97b50a58faa337b44aeb9533fdd52e154ce18f47 100644 (file)
@@ -20,10 +20,8 @@ import {
 } from '@material-ui/core';
 import classnames from 'classnames';
 import { DefaultTransformOrigin } from 'components/popover/helpers';
-import { createTree } from 'models/tree';
-import { getNodeDescendants } from 'models/tree';
 import debounce from 'lodash/debounce';
-import { green, grey } from '@material-ui/core/colors';
+import { grey } from '@material-ui/core/colors';
 
 export type CssRules = 'root' | 'icon' | 'iconButton' | 'optionsContainer' | 'option';
 
@@ -110,7 +108,7 @@ export const DataTableMultiselectPopover = withStyles(styles)(
                     >
                         <Card>
                             <CardContent>
-                                <Typography variant='caption'>{'Options'}</Typography>
+                                <Typography variant='caption'>{name}</Typography>
                             </CardContent>
                             <div className={classes.optionsContainer}>
                                 {options.length &&
index b36d546e420599bed92e23d1418fab3d7689cb65..57ca16e4b89cfae10784e3b54669cedf36ee1340 100644 (file)
@@ -243,11 +243,7 @@ export const DataTable = withStyles(styles)(
                         <Tooltip title={this.state.isSelected ? 'Deselect All' : 'Select All'}>
                             <input type='checkbox' className={classes.checkBox} checked={this.state.isSelected} onChange={this.handleSelectorSelect}></input>
                         </Tooltip>
-                        <DataTableMultiselectPopover
-                            name={`multiselect options`}
-                            options={multiselectOptions}
-                            checkedList={this.state.checkedList}
-                        ></DataTableMultiselectPopover>
+                        <DataTableMultiselectPopover name={`Options`} options={multiselectOptions} checkedList={this.state.checkedList}></DataTableMultiselectPopover>
                     </div>
                 </TableCell>
             ) : (