update penjagaan edit log
This commit is contained in:
@@ -149,6 +149,7 @@ export default function Detail() {
|
||||
Detail
|
||||
</Typography>
|
||||
</Grid>
|
||||
{requestLog?.status_final_log != 'requested' ? (
|
||||
<Grid item xs={6} sx={{ display: 'flex', placeContent: 'end' }}>
|
||||
<MoreMenu
|
||||
actions={
|
||||
@@ -162,7 +163,7 @@ export default function Detail() {
|
||||
</>
|
||||
}
|
||||
/>
|
||||
</Grid>
|
||||
</Grid>) : null }
|
||||
|
||||
</Grid>
|
||||
<Stack direction='row' spacing={2} sx={marginBottom1}>
|
||||
|
||||
@@ -90,20 +90,22 @@ export default function Detail() {
|
||||
Detail
|
||||
</Typography>
|
||||
</Grid>
|
||||
<Grid item xs={6} sx={{ display: 'flex', placeContent: 'end' }}>
|
||||
<MoreMenu
|
||||
actions={
|
||||
<>
|
||||
<MenuItem onClick={() => {
|
||||
setOpenDialogEdit(true);
|
||||
}}>
|
||||
<EditOutlined />
|
||||
Edit
|
||||
</MenuItem>
|
||||
</>
|
||||
}
|
||||
/>
|
||||
</Grid>
|
||||
{requestLog?.status != 'requested' ? (
|
||||
<Grid item xs={6} sx={{ display: 'flex', placeContent: 'end' }}>
|
||||
<MoreMenu
|
||||
actions={
|
||||
<>
|
||||
<MenuItem onClick={() => {
|
||||
setOpenDialogEdit(true);
|
||||
}}>
|
||||
<EditOutlined />
|
||||
Edit
|
||||
</MenuItem>
|
||||
</>
|
||||
}
|
||||
/>
|
||||
</Grid>
|
||||
) : null}
|
||||
|
||||
</Grid>
|
||||
<Stack direction='row' spacing={2} sx={marginBottom1}>
|
||||
|
||||
Reference in New Issue
Block a user