Skip to content

Commit

Permalink
Reorder approval table
Browse files Browse the repository at this point in the history
  • Loading branch information
dedenbangkit committed Feb 5, 2024
1 parent 06ecbab commit beb556b
Showing 1 changed file with 18 additions and 16 deletions.
34 changes: 18 additions & 16 deletions frontend/src/pages/approvals/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ export const columnsApproval = [
</Col>
</Row>
),
width: "30%",
},
{
title: "Form",
Expand All @@ -34,19 +33,35 @@ export const columnsApproval = [
title: "Submitter",
dataIndex: "created_by",
key: "created_by",
width: 140,
},
{
title: "Total Data",
align: "center",
dataIndex: "total_data",
key: "total_data",
width: 140,
},
{
title: "Location",
dataIndex: "administration",
key: "administration",
render: (administration) => administration.name,
width: 140,
},
{
title: "Waiting on",
align: "center",
dataIndex: "waiting_on",
key: "waiting_on",
render: (_, row) => row.approver.name,
width: 180,
},
{
title: "Status",
align: "center",
dataIndex: "approver",
key: "approver",
width: 60,
render: ({ status_text }) => (
<span>
<Tag
Expand All @@ -71,19 +86,6 @@ export const columnsApproval = [
</Tag>
</span>
),
},
{
title: "Waiting on",
align: "center",
dataIndex: "waiting_on",
key: "waiting_on",
render: (_, row) => row.approver.name,
},
{
title: "Total Data",
align: "center",
dataIndex: "total_data",
key: "total_data",
width: 120,
width: 180,
},
];

0 comments on commit beb556b

Please sign in to comment.