Delivery detail bug fixed
This commit was merged in pull request #227.
This commit is contained in:
@@ -52,6 +52,7 @@ function AssignTaskPopout({action, situation, familyDetails}) {
|
|||||||
setRequestStatus({loading: false, status: true, message: 'action successful'})
|
setRequestStatus({loading: false, status: true, message: 'action successful'})
|
||||||
setTimeout(()=>{
|
setTimeout(()=>{
|
||||||
setRequestStatus({loading: false, status: false, message: ''})
|
setRequestStatus({loading: false, status: false, message: ''})
|
||||||
|
action() // FUNCTION THAT CLOSES THE MODAL BOX
|
||||||
}, 5000)
|
}, 5000)
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
setRequestStatus({loading: false, status: false, message: 'An Error occured, try again'})
|
setRequestStatus({loading: false, status: false, message: 'An Error occured, try again'})
|
||||||
@@ -196,7 +197,8 @@ function AssignTaskPopout({action, situation, familyDetails}) {
|
|||||||
className={`p-1 w-full text-sm text-slate-900 outline-none border border-slate-300 rounded-md`}
|
className={`p-1 w-full text-sm text-slate-900 outline-none border border-slate-300 rounded-md`}
|
||||||
rows="5"
|
rows="5"
|
||||||
style={{ resize: "none" }}
|
style={{ resize: "none" }}
|
||||||
defaultValue={activeTask?.data?.job_detail}
|
value={activeTask?.data?.job_detail}
|
||||||
|
readOnly
|
||||||
// onChange={handleInputChange}
|
// onChange={handleInputChange}
|
||||||
/>
|
/>
|
||||||
{/* <p>{}</p> */}
|
{/* <p>{}</p> */}
|
||||||
|
|||||||
Reference in New Issue
Block a user