|
|
@ -19,7 +19,7 @@ const GanttFrame = React.memo((props) => { |
|
|
|
console.error('Undefined in props.location.state'); |
|
|
|
console.error('Undefined in props.location.state'); |
|
|
|
} |
|
|
|
} |
|
|
|
const history = useHistory(); |
|
|
|
const history = useHistory(); |
|
|
|
const { versionGanttId, idProject, token, ro, timestamp } = props; |
|
|
|
const { versionGanttId, idProject, ro, timestamp } = props; |
|
|
|
const iframeSrc = `https://konstruksi-gantt.ospro.id/edit-mode/index.html?base_url=${BASE_SIMPRO_LUMEN}&gantt_id=${versionGanttId}&proyek_id=${idProject}&token=${token}&ro=${ro}×tamp=${timestamp}`; |
|
|
|
const iframeSrc = `https://konstruksi-gantt.ospro.id/edit-mode/index.html?base_url=${BASE_SIMPRO_LUMEN}&gantt_id=${versionGanttId}&proyek_id=${idProject}&token=${token}&ro=${ro}×tamp=${timestamp}`; |
|
|
|
const [batchEntityData, setBatchEntityData] = useState(null); |
|
|
|
const [batchEntityData, setBatchEntityData] = useState(null); |
|
|
|
|
|
|
|
|
|
|
|