mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-23 23:20:57 +03:00
Make AlbumSongs BulkActionsToolbar more responsive
This commit is contained in:
parent
85084cda57
commit
0c263cf234
ui/src
@ -145,6 +145,10 @@ const AlbumSongs = (props) => {
|
||||
defaultOff: ['channels', 'bpm', 'year', 'playCount', 'playDate', 'size'],
|
||||
})
|
||||
|
||||
const bulkActionsLabel = isDesktop
|
||||
? 'ra.action.bulk_actions'
|
||||
: 'ra.action.bulk_actions_mobile'
|
||||
|
||||
return (
|
||||
<>
|
||||
<ListToolbar
|
||||
@ -159,7 +163,7 @@ const AlbumSongs = (props) => {
|
||||
})}
|
||||
key={version}
|
||||
>
|
||||
<BulkActionsToolbar {...props}>
|
||||
<BulkActionsToolbar {...props} label={bulkActionsLabel}>
|
||||
<SongBulkActions />
|
||||
</BulkActionsToolbar>
|
||||
<SongDatagrid
|
||||
|
@ -238,6 +238,7 @@
|
||||
"add": "Add",
|
||||
"back": "Go Back",
|
||||
"bulk_actions": "1 item selected |||| %{smart_count} items selected",
|
||||
"bulk_actions_mobile": "1 |||| %{smart_count}",
|
||||
"cancel": "Cancel",
|
||||
"clear_input_value": "Clear value",
|
||||
"clone": "Clone",
|
||||
|
Loading…
x
Reference in New Issue
Block a user