This commit is contained in:
Truong Vo 2024-09-21 08:25:04 +07:00
parent 51de925f7c
commit 21ef986ee8
1 changed files with 11 additions and 10 deletions

View File

@ -232,16 +232,17 @@ const StaffEvaluation = () => {
size: '25%',
header: 'Last update',
render: (row: any) => {
return (
<div
style={{
display: 'flex',
justifyContent: 'center',
}}
>
{moment(row?.updated_at).format('DD/MM/YYYY HH:mm:ss')}
</div>
)
if (row?.updated_at)
return (
<div
style={{
display: 'flex',
justifyContent: 'center',
}}
>
{moment(row?.updated_at).format('DD/MM/YYYY HH:mm:ss')}
</div>
)
},
},
]