18315: Adds file upload test proving that the UI is correctly updated.
[arvados-workbench2.git] / src / views / keep-service-panel / keep-service-panel-root.tsx
index 57193d355af336ea9c1baaeebde8abcd2ba29a77..dee6ee77813008840042ae34ce36101e18c13523 100644 (file)
@@ -2,11 +2,11 @@
 //
 // SPDX-License-Identifier: AGPL-3.0
 
-import * as React from 'react';
-import { StyleRulesCallback, WithStyles, withStyles, Card, CardContent, Button, Typography, 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 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';
 
 type CssRules = 'root' | 'tableRow';
 
@@ -23,7 +23,7 @@ const styles: StyleRulesCallback<CssRules> = (theme: ArvadosTheme) => ({
 });
 
 export interface KeepServicePanelRootActionProps {
-    openRowOptions: (event: React.MouseEvent<HTMLElement>, index: number, keepService: KeepServiceResource) => void;
+    openRowOptions: (event: React.MouseEvent<HTMLElement>, keepService: KeepServiceResource) => void;
 }
 
 export interface KeepServicePanelRootDataProps {
@@ -72,7 +72,7 @@ export const KeepServicePanelRoot = withStyles(styles)(
                                         <TableCell>{keepService.serviceType}</TableCell>
                                         <TableCell>
                                             <Tooltip title="More options" disableFocusListener>
-                                                <IconButton onClick={event => openRowOptions(event, index, keepService)}>
+                                                <IconButton onClick={event => openRowOptions(event, keepService)}>
                                                     <MoreOptionsIcon />
                                                 </IconButton>
                                             </Tooltip>