mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-23 23:20:57 +03:00
Fix JS console warning
This commit is contained in:
parent
34277f238c
commit
40cac5c367
@ -49,13 +49,14 @@ const DownloadMenuDialog = () => {
|
||||
maxWidth={'sm'}
|
||||
>
|
||||
<DialogTitle id="download-dialog">
|
||||
{translate('message.downloadDialogTitle', {
|
||||
resource: translate(`resources.${recordType}.name`, {
|
||||
smart_count: 1,
|
||||
}).toLocaleLowerCase(),
|
||||
name: record?.name || record?.title,
|
||||
size: formatBytes(record?.size),
|
||||
})}
|
||||
{recordType &&
|
||||
translate('message.downloadDialogTitle', {
|
||||
resource: translate(`resources.${recordType}.name`, {
|
||||
smart_count: 1,
|
||||
}).toLocaleLowerCase(),
|
||||
name: record?.name || record?.title,
|
||||
size: formatBytes(record?.size),
|
||||
})}
|
||||
</DialogTitle>
|
||||
<DialogContent>
|
||||
<SimpleForm toolbar={null} variant={'outlined'}>
|
||||
|
Loading…
x
Reference in New Issue
Block a user