Browse Source

update url iframeSrc

pull/1/head
wahyuun 1 year ago
parent
commit
0a4b6e9b44
  1. 3
      src/views/SimproV2/Gantt/GanttFrame.js

3
src/views/SimproV2/Gantt/GanttFrame.js

@ -20,8 +20,7 @@ const GanttFrame = React.memo((props) => {
} }
const history = useHistory(); const history = useHistory();
const { versionGanttId, idProject, ro, timestamp } = props; const { versionGanttId, idProject, ro, timestamp } = props;
const iframeSrc = `http://localhost:8444/adw-gantt/edit-mode/index.html?base_url=${BASE_SIMPRO_LUMEN}&gantt_id=${versionGanttId}&proyek_id=${idProject}&token=${token}&ro=${ro}&timestamp=${timestamp}&role_id=${role_id}&user_id=${user_id}&isLogin=${isLogin}`; const iframeSrc = `https://adw-gantt.ospro.id/edit-mode/index.html?base_url=${BASE_SIMPRO_LUMEN}&gantt_id=${versionGanttId}&proyek_id=${idProject}&token=${token}&ro=${ro}&timestamp=${timestamp}`;
const [batchEntityData, setBatchEntityData] = useState(null); const [batchEntityData, setBatchEntityData] = useState(null);

Loading…
Cancel
Save