Skip to content

Commit

Permalink
Merge branch 'enhancement-ItemTable-virtualization' of github.itap.pu…
Browse files Browse the repository at this point in the history
…rdue.edu:ECN/webqueue2 into enhancement-ItemTable-virtualization
  • Loading branch information
campb303 committed May 5, 2021
2 parents 6ead4b5 + 173c93f commit ff6e646
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/components/ItemTable/ItemTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ export default function ItemTable({ data, rowCanBeSelected, loading }) {
<Table stickyHeader {...getTableProps()} size="small">
<TableHead>
{headerGroups.map(headerGroup => (
<TableRow {...headerGroup.getHeaderGroupProps()} className="tr">
<TableRow {...headerGroup.getHeaderGroupProps()}>
{headerGroup.headers.map(column => (
<TableCell {...column.getHeaderProps()} className="th">
<TableCell {...column.getHeaderProps()}>
<Grid container spacing={0}>
<Grid item sm={10}>
{column.render('Filter')}
Expand Down Expand Up @@ -160,7 +160,6 @@ export default function ItemTable({ data, rowCanBeSelected, loading }) {
let isSelected = selectedRow.queue === row.original.queue && selectedRow.number === row.original.number
return (
<TableRow
style={style}
hover
onClick={() => {
history.push(`/${row.original.queue}/${row.original.number}`);
Expand Down

0 comments on commit ff6e646

Please sign in to comment.