CEC-1965 Cleanup (#163)

This commit is contained in:
John Wu
2022-07-01 13:00:26 -07:00
committed by GitHub
parent fe40c26c56
commit 86418d093c
5 changed files with 49 additions and 81 deletions

View File

@@ -18,6 +18,10 @@ import TableHeaderSortable from "../../Table/HeaderSortable";
import { logger } from "../../../services/monitoring";
const tableColumns = [
{
id: "id",
label: "ID",
},
{
id: "contact",
label: "Contact",
@@ -115,6 +119,7 @@ const SupplierTable = (props) => {
{suppliers.map((row, index) => {
return (
<TableRow key={index}>
<TableCell align="center">{row?.id}</TableCell>
<TableCell align="center">
<Link to={`/supplier/${row.email}`}>{row.contact}</Link>
</TableCell>