Browse Source

Merge pull request 'staging' (#178) from staging into general

Reviewed-on: ordo/adw-frontend#178
pull/2/head
farhantock 1 year ago
parent
commit
9be914e926
  1. 4
      src/views/SimproV2/CreatedProyek/ReportAnalysis.js

4
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", {title: "Baseline Start", dataIndex: "planned_start", key: "planned_start",
render: (text, record) => ( 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", {title: "Baseline Finish", dataIndex: "planned_end", key: "planned_end",
render: (text, record) => ( render: (text, record) => (
<> <>
{moment(record.planned_end).format("DD-MM-YY")} {record.planned_end ? moment(record.planned_end).format("DD-MM-YY") : ''}
</> </>
), ),
}, },

Loading…
Cancel
Save