CEC-3672 Add SUMS to car updates table (#280)

This commit is contained in:
John Wu
2023-02-11 09:53:56 -08:00
committed by GitHub
parent 0da2289f37
commit bf0f0630f1
3 changed files with 27 additions and 11 deletions

View File

@@ -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}