mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-13 02:37:18 +03:00
fix(ui): replace bulk "delete" label with "remove" in playlists
Fix #3525 Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
parent
5869f7caaf
commit
1c192d8a6d
@ -4,6 +4,7 @@ import {
|
||||
useUnselectAll,
|
||||
ResourceContextProvider,
|
||||
} from 'react-admin'
|
||||
import { MdOutlinePlaylistRemove } from 'react-icons/md'
|
||||
import PropTypes from 'prop-types'
|
||||
|
||||
// Replace original resource with "fake" one for removing tracks from playlist
|
||||
@ -24,6 +25,8 @@ const PlaylistSongBulkActions = ({
|
||||
<Fragment>
|
||||
<BulkDeleteButton
|
||||
{...rest}
|
||||
label={'ra.action.remove'}
|
||||
icon={<MdOutlinePlaylistRemove />}
|
||||
resource={mappedResource}
|
||||
onClick={onUnselectItems}
|
||||
/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user