CEC-2075 Remove supplier active directory id (#167)

* CEC-2075 Remove supplier oid

* Clean up
This commit is contained in:
John Wu
2022-07-18 10:39:07 -07:00
committed by GitHub
parent 0d2f9c8d74
commit 05d841159c
8 changed files with 134 additions and 111 deletions

View File

@@ -18,10 +18,6 @@ import TableHeaderSortable from "../../Table/HeaderSortable";
import { logger } from "../../../services/monitoring";
const tableColumns = [
{
id: "id",
label: "ID",
},
{
id: "contact",
label: "Contact",
@@ -46,6 +42,10 @@ const tableColumns = [
id: "created_at",
label: "Registered",
},
{
id: "activated_at",
label: "Activated",
},
];
const SupplierTable = (props) => {
@@ -119,7 +119,6 @@ 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>
@@ -132,6 +131,9 @@ const SupplierTable = (props) => {
<TableCell align="center">
{LocalDateTimeString(row.created)}
</TableCell>
<TableCell align="center">
{LocalDateTimeString(row.activated)}
</TableCell>
</TableRow>
);
})}