CEC-3672 Add SUMS to car updates table (#280)
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
import React from "react";
|
||||
import PropTypes from "prop-types";
|
||||
import {
|
||||
Checkbox,
|
||||
TableCell,
|
||||
TableHead,
|
||||
TableRow,
|
||||
TableSortLabel,
|
||||
TableSortLabel
|
||||
} from "@material-ui/core";
|
||||
import PropTypes from "prop-types";
|
||||
import React from "react";
|
||||
|
||||
const HeaderSortable = (props) => {
|
||||
const {
|
||||
@@ -75,9 +75,9 @@ const HeaderSortable = (props) => {
|
||||
/>
|
||||
</TableCell>
|
||||
)}
|
||||
{columnData.map((column) => (
|
||||
{columnData.map((column, index) => (
|
||||
<TableCell
|
||||
key={column.id}
|
||||
key={index}
|
||||
align={column.numeric ? "right" : "center"}
|
||||
padding={column.disablePadding ? "none" : "normal"}
|
||||
sortDirection={orderBy === column.id ? order : false}
|
||||
|
||||
Reference in New Issue
Block a user