|
|
@@ -95,9 +95,9 @@ const ApplicationDetailCard = ( |
|
|
|
|
|
|
|
const onDownloadClick = () => () => { |
|
|
|
HttpUtils.fileDownload({ |
|
|
|
fileId: fileDetail.id, |
|
|
|
skey: fileDetail.skey, |
|
|
|
filename: fileDetail.filename, |
|
|
|
fileId: fileDetail?.id, |
|
|
|
skey: fileDetail?.skey, |
|
|
|
filename: fileDetail?.filename, |
|
|
|
}); |
|
|
|
}; |
|
|
|
|
|
|
@@ -537,7 +537,7 @@ const ApplicationDetailCard = ( |
|
|
|
id='fileName' |
|
|
|
variant="pnspsFormParagraph" |
|
|
|
> |
|
|
|
{fileDetail.filename} |
|
|
|
{fileDetail?.filename} |
|
|
|
</Typography> |
|
|
|
<ThemeProvider theme={PNSPS_BUTTON_THEME}> |
|
|
|
<Button |
|
|
@@ -547,6 +547,7 @@ const ApplicationDetailCard = ( |
|
|
|
aria-label={intl.formatMessage({ id: 'download' })} |
|
|
|
title={intl.formatMessage({ id: 'download' })} |
|
|
|
color="save" |
|
|
|
disabled={!fileDetail?.filename} |
|
|
|
startIcon={<DownloadIcon sx={{ alignItems: "center" }} />} |
|
|
|
> |
|
|
|
<FormattedMessage id="download" /> |
|
|
|