Make AlbumSongs BulkActionsToolbar more responsive

This commit is contained in:
Deluan 2023-01-24 16:39:33 -05:00
parent 85084cda57
commit 0c263cf234
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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",