mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-25 07:45:47 +00:00
refactor(FE-137): remove redundant status column from RecordingTable
This commit is contained in:
@@ -611,13 +611,6 @@ const RecordingTable = () => {
|
|||||||
header: 'Populasi Akhir',
|
header: 'Populasi Akhir',
|
||||||
cell: (props) => (props.row.original.total_chick - props.row.original.total_depletion)?.toLocaleString() || '-',
|
cell: (props) => (props.row.original.total_chick - props.row.original.total_depletion)?.toLocaleString() || '-',
|
||||||
},
|
},
|
||||||
{
|
|
||||||
header: 'Status Recording',
|
|
||||||
cell: (props) => {
|
|
||||||
const status = props.row.original.status;
|
|
||||||
return status === 1 ? 'Menunggu Persetujuan' : 'Disetujui';
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
header: 'Ketepatan Waktu',
|
header: 'Ketepatan Waktu',
|
||||||
cell: (props) => props.row.original.ontime ? 'Tepat Waktu' : 'Terlambat',
|
cell: (props) => props.row.original.ontime ? 'Tepat Waktu' : 'Terlambat',
|
||||||
|
|||||||
Reference in New Issue
Block a user