Fix JS console warning

This commit is contained in:
Deluan
2023-01-23 10:25:06 -05:00
parent 34277f238c
commit 40cac5c367
+2 -1
View File
@@ -49,7 +49,8 @@ const DownloadMenuDialog = () => {
maxWidth={'sm'} maxWidth={'sm'}
> >
<DialogTitle id="download-dialog"> <DialogTitle id="download-dialog">
{translate('message.downloadDialogTitle', { {recordType &&
translate('message.downloadDialogTitle', {
resource: translate(`resources.${recordType}.name`, { resource: translate(`resources.${recordType}.name`, {
smart_count: 1, smart_count: 1,
}).toLocaleLowerCase(), }).toLocaleLowerCase(),