From: Daniel Kutyła Date: Fri, 14 Jan 2022 14:28:01 +0000 (+0100) Subject: 18207: Replaced loader with null to be consistent with the existing ui X-Git-Tag: 2.4.0~17^2~2 X-Git-Url: https://git.arvados.org/arvados-workbench2.git/commitdiff_plain/f528cc85e7687e1d899860c4226984bd067c5bd3 18207: Replaced loader with null to be consistent with the existing ui Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła --- diff --git a/src/components/data-table/data-table.tsx b/src/components/data-table/data-table.tsx index 9a31cbfd..de694e08 100644 --- a/src/components/data-table/data-table.tsx +++ b/src/components/data-table/data-table.tsx @@ -3,7 +3,7 @@ // SPDX-License-Identifier: AGPL-3.0 import React from 'react'; -import { Table, TableBody, TableRow, TableCell, TableHead, TableSortLabel, StyleRulesCallback, Theme, WithStyles, withStyles, IconButton, CircularProgress } from '@material-ui/core'; +import { Table, TableBody, TableRow, TableCell, TableHead, TableSortLabel, StyleRulesCallback, Theme, WithStyles, withStyles, IconButton } from '@material-ui/core'; import classnames from 'classnames'; import { DataColumn, SortDirection } from './data-column'; import { DataTableDefaultView } from '../data-table-default-view/data-table-default-view'; @@ -99,9 +99,7 @@ export const DataTable = withStyles(styles)( { this.props.working ? -
- -
: + null : items.map(this.renderBodyRow) }