update navigate after edit
This commit is contained in:
@@ -85,7 +85,7 @@ export default function DialogEditFinalLOG({requestLog, setOpenDialog, openDialo
|
|||||||
.then((response) => {
|
.then((response) => {
|
||||||
enqueueSnackbar('Verification Request LOG Success', { variant: 'success' });
|
enqueueSnackbar('Verification Request LOG Success', { variant: 'success' });
|
||||||
setOpenDialog(false);
|
setOpenDialog(false);
|
||||||
navigate('/case_management/final-log/detail/' + requestLog?.id)
|
navigate('/custormer-service/final-log/detail/' + requestLog?.id)
|
||||||
window.location.reload()
|
window.location.reload()
|
||||||
})
|
})
|
||||||
.catch(({ response }) => {
|
.catch(({ response }) => {
|
||||||
@@ -180,7 +180,7 @@ export default function DialogEditFinalLOG({requestLog, setOpenDialog, openDialo
|
|||||||
variant="outlined"
|
variant="outlined"
|
||||||
fullWidth
|
fullWidth
|
||||||
type="date"
|
type="date"
|
||||||
value={formData.discharge_date ? fDateOnly(formData.discharge_date) : ''}
|
value={formData.discharge_date ? fDateOnly(formData.discharge_date) : '-'}
|
||||||
onChange={(e) => handleChange('discharge_date', e.target.value)}
|
onChange={(e) => handleChange('discharge_date', e.target.value)}
|
||||||
/>
|
/>
|
||||||
</Stack>
|
</Stack>
|
||||||
|
|||||||
Reference in New Issue
Block a user