diff --git a/src/components/KaTableComponent.tsx b/src/components/KaTableComponent.tsx index d0dda5e..7b9fd63 100644 --- a/src/components/KaTableComponent.tsx +++ b/src/components/KaTableComponent.tsx @@ -178,6 +178,14 @@ const KaTableComponent: React.FC = ({ data, columns, tableTitl ) } } + else if(props.column.key === "create-by") + { + return ( + + {props.rowData.creator} + + ) + } else if (props.column.key === 'contentAction') { { return ( diff --git a/src/pages/workspace/content/up-review/index.tsx b/src/pages/workspace/content/up-review/index.tsx index d0a88d8..5ffae53 100644 --- a/src/pages/workspace/content/up-review/index.tsx +++ b/src/pages/workspace/content/up-review/index.tsx @@ -26,11 +26,13 @@ import KaTableComponent from "@/components/KaTableComponent"; import { timeAgo } from "@/utils/Helper"; import useSharedStore from "@/utils/useSharedState"; const columns = [ - { key: 'title_and_description', title: 'TITLE & DESCRIPTION', dataType: DataType.String, width: "450px" }, + { key: 'title_and_description', title: 'TITLE & DESCRIPTION', dataType: DataType.String, width: "300px" }, + { key: 'contentType', title: 'CONTENT TYPE', dataType: DataType.String, width: "250px" }, // { key: 'status', title: 'STATUS', dataType: DataType.String, width: "100px" }, { key: 'lastUpdatedOn', title: 'LAST MODIFIED', dataType: DataType.String, width: "180px" }, - { key: 'action', title: 'ACTION', dataType: DataType.String, width: "100px" }, + { key: 'create-by', title: 'CREATED BY', dataType: DataType.String, width: "100px" }, + { key: 'action', title: 'ACTION', dataType: DataType.String, width: "100px" }, ] @@ -71,7 +73,9 @@ const UpForReviewPage = () => { identifier: item.identifier, mimeType: item.mimeType, mode: item.mode, - createdBy: item.createdBy + createdBy: item.createdBy, + creator: item.creator + })); setData(filteredArray)