mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-04 21:17:37 +03:00
Fix JS console warning
This commit is contained in:
parent
34277f238c
commit
40cac5c367
1 changed files with 8 additions and 7 deletions
|
@ -49,7 +49,8 @@ const DownloadMenuDialog = () => {
|
|||
maxWidth={'sm'}
|
||||
>
|
||||
<DialogTitle id="download-dialog">
|
||||
{translate('message.downloadDialogTitle', {
|
||||
{recordType &&
|
||||
translate('message.downloadDialogTitle', {
|
||||
resource: translate(`resources.${recordType}.name`, {
|
||||
smart_count: 1,
|
||||
}).toLocaleLowerCase(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue