|
|
|
@ -19,13 +19,11 @@ const DialogGantt = ({ openDialog, closeDialog, toggleDialog, idTask, proyekName
|
|
|
|
|
user_id = user_id; |
|
|
|
|
token = token; |
|
|
|
|
isLogin = isLogin; |
|
|
|
|
console.log('props.location.state success'); |
|
|
|
|
} else { |
|
|
|
|
role_id = localStorage.getItem("role_id"); |
|
|
|
|
user_id = localStorage.getItem("user_id"); |
|
|
|
|
token = localStorage.getItem("token"); |
|
|
|
|
isLogin = localStorage.getItem("isLogin"); |
|
|
|
|
console.error('Undefined in props.location.state'); |
|
|
|
|
} |
|
|
|
|
const HEADER = { |
|
|
|
|
headers: { |
|
|
|
@ -308,6 +306,7 @@ const DialogGantt = ({ openDialog, closeDialog, toggleDialog, idTask, proyekName
|
|
|
|
|
closeDialog={closeDialogForm} |
|
|
|
|
typeDialog={typeDialog} |
|
|
|
|
dataEdit={dataEdit} |
|
|
|
|
user_id={user_id} |
|
|
|
|
/> |
|
|
|
|
|
|
|
|
|
<DialogUserGantt |
|
|
|
|