diff --git a/src/views/SimproV2/CreatedProyek/ReportAnalysis.js b/src/views/SimproV2/CreatedProyek/ReportAnalysis.js index b89298b..c12f2dd 100644 --- a/src/views/SimproV2/CreatedProyek/ReportAnalysis.js +++ b/src/views/SimproV2/CreatedProyek/ReportAnalysis.js @@ -62,14 +62,14 @@ const ReportAnalysis = ({ openDialog, closeDialog, toggleDialog, projectId }) => {title: "Baseline Start", dataIndex: "planned_start", key: "planned_start", render: (text, record) => ( <> - {moment(record.planned_start).format("DD-MM-YY")} + {record.planned_start ? moment(record.planned_start).format("DD-MM-YY") : ''} ), }, {title: "Baseline Finish", dataIndex: "planned_end", key: "planned_end", render: (text, record) => ( <> - {moment(record.planned_end).format("DD-MM-YY")} + {record.planned_end ? moment(record.planned_end).format("DD-MM-YY") : ''} ), },