Update
This commit is contained in:
@@ -298,8 +298,8 @@ export default function List() {
|
|||||||
setData(
|
setData(
|
||||||
response.data.data.map((obj: any) => ({
|
response.data.data.map((obj: any) => ({
|
||||||
...obj,
|
...obj,
|
||||||
start_date: obj.start_date ? <Label>{fDateSuffix(obj.start_date)}</Label> : '-',
|
start_date: obj.start_date && obj.start_date != '0000-00-00' ? <Label>{fDateSuffix(obj.start_date)}</Label> : '-',
|
||||||
end_date: obj.end_date ? <Label>{fDateSuffix(obj.end_date)}</Label> : '-',
|
end_date: obj.end_date && obj.end_date != '0000-00-00' ? <Label>{fDateSuffix(obj.end_date)}</Label> : '-',
|
||||||
action: (
|
action: (
|
||||||
<TableMoreMenu
|
<TableMoreMenu
|
||||||
actions={
|
actions={
|
||||||
|
|||||||
Reference in New Issue
Block a user