19359: Can select empty item to clear optional enum input
[arvados-workbench2.git] / src / views / keep-service-panel / keep-service-panel-root.tsx
index f2a7ed1c5d5d42dcc3bd002c35ebec075407dff7..7cc7795648c971fbc7ba9122e0e185ecf03a0b62 100644 (file)
@@ -2,11 +2,11 @@
 //
 // SPDX-License-Identifier: AGPL-3.0
 
-import * as React from 'react';
+import React from 'react';
 import { StyleRulesCallback, WithStyles, withStyles, Card, CardContent, Grid, Table, TableHead, TableRow, TableCell, TableBody, Tooltip, IconButton, Checkbox } from '@material-ui/core';
-import { ArvadosTheme } from '~/common/custom-theme';
-import { MoreOptionsIcon } from '~/components/icon/icon';
-import { KeepServiceResource } from '~/models/keep-services';
+import { ArvadosTheme } from 'common/custom-theme';
+import { MoreVerticalIcon } from 'components/icon/icon';
+import { KeepServiceResource } from 'models/keep-services';
 
 type CssRules = 'root' | 'tableRow';
 
@@ -34,7 +34,7 @@ export interface KeepServicePanelRootDataProps {
 type KeepServicePanelRootProps = KeepServicePanelRootActionProps & KeepServicePanelRootDataProps & WithStyles<CssRules>;
 
 export const KeepServicePanelRoot = withStyles(styles)(
-    ({ classes, hasKeepSerices, keepServices, openRowOptions }: KeepServicePanelRootProps) => 
+    ({ classes, hasKeepSerices, keepServices, openRowOptions }: KeepServicePanelRootProps) =>
         <Card className={classes.root}>
             <CardContent>
                 {hasKeepSerices && <Grid container direction="row">
@@ -73,7 +73,7 @@ export const KeepServicePanelRoot = withStyles(styles)(
                                         <TableCell>
                                             <Tooltip title="More options" disableFocusListener>
                                                 <IconButton onClick={event => openRowOptions(event, keepService)}>
-                                                    <MoreOptionsIcon />
+                                                    <MoreVerticalIcon />
                                                 </IconButton>
                                             </Tooltip>
                                         </TableCell>
@@ -84,4 +84,4 @@ export const KeepServicePanelRoot = withStyles(styles)(
                 </Grid>}
             </CardContent>
         </Card>
-);
\ No newline at end of file
+);