|
|
|
@ -282,7 +282,7 @@ const CreatedProyek = ({ params, ...props }) => {
|
|
|
|
|
return; |
|
|
|
|
} else if (result.status == 200 && result.data.data) { |
|
|
|
|
history.push( |
|
|
|
|
`dashboard-customer/${text.id}/${result.data.gantt.last_gantt_id}/1` |
|
|
|
|
`dashboard-customer/${text.id}/${result.data.gantt}/1` |
|
|
|
|
); |
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
@ -558,7 +558,7 @@ const CreatedProyek = ({ params, ...props }) => {
|
|
|
|
|
return; |
|
|
|
|
} else if (result.status == 200 && result.data.data) { |
|
|
|
|
history.push( |
|
|
|
|
`/dashboard-project/${id}/${result.data.gantt.last_gantt_id}/1` |
|
|
|
|
`/dashboard-project/${id}/${result.data.gantt}/1` |
|
|
|
|
); |
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
@ -1490,12 +1490,16 @@ const CreatedProyek = ({ params, ...props }) => {
|
|
|
|
|
<span className="menu-text">Request Tools</span> |
|
|
|
|
</div> */} |
|
|
|
|
{/* <Link to={`/project-charter/${text.id}/gantt`}> */} |
|
|
|
|
{ |
|
|
|
|
/*text.type_proyek_id != 9 ?*/ |
|
|
|
|
<div className="menu-list" onClick={() => handleOpenDialogGantt(text)}> |
|
|
|
|
<span className="menu-icon"> |
|
|
|
|
<i className="fa fa-bars"></i> |
|
|
|
|
</span> |
|
|
|
|
<span className="menu-text">Gantt</span> |
|
|
|
|
</div> |
|
|
|
|
/*: null*/ |
|
|
|
|
} |
|
|
|
|
<div className="menu-list" onClick={() => handleSCurve(text)}> |
|
|
|
|
<span className="menu-icon"> |
|
|
|
|
<i className="fa fa-line-chart"></i> |
|
|
|
|