update bugs upload file

This commit is contained in:
2023-09-27 15:04:34 +07:00
parent 23ce443b52
commit 975c5169e3
5 changed files with 17 additions and 9 deletions

View File

@@ -291,8 +291,8 @@ const DialogDetailClaim = ({ title, openDialog, setOpenDialog, data }: MuiDialog
spacing={1}
sx={{ marginY: 2 }}
>
{claim.files_by_type?.result &&
claim.files_by_type.result.map((file, index) => (
{claim.files_by_type?.claim_result &&
claim.files_by_type.claim_result.map((file, index) => (
<Stack direction="row" justifyContent={'space-between'} key={index}>
<a href={file.url} target="_blank" style={{ textDecoration: 'none' }}>
<Typography sx={{ color: 'text.secondary' }} variant="subtitle2">