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