fix(ui): skip missing files in bulk operations (#3807)
* fix(ui): skip missing files when adding to playqueue Signed-off-by: Deluan <deluan@navidrome.org> * fix(ui): skip missing files when adding to playlists * fix(ui): skip missing files when shuffling songs Signed-off-by: Deluan <deluan@navidrome.org> --------- Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
@@ -233,6 +233,7 @@ export const AlbumContextMenu = (props) =>
|
||||
album_id: props.record.id,
|
||||
release_date: props.releaseDate,
|
||||
disc_number: props.discNumber,
|
||||
missing: false,
|
||||
},
|
||||
}}
|
||||
/>
|
||||
@@ -262,7 +263,7 @@ export const ArtistContextMenu = (props) =>
|
||||
field: 'album',
|
||||
order: 'ASC',
|
||||
},
|
||||
filter: { album_artist_id: props.record.id },
|
||||
filter: { album_artist_id: props.record.id, missing: false },
|
||||
}}
|
||||
/>
|
||||
) : null
|
||||
|
||||
@@ -10,6 +10,7 @@ export const ShuffleAllButton = ({ filters }) => {
|
||||
const dataProvider = useDataProvider()
|
||||
const dispatch = useDispatch()
|
||||
const notify = useNotify()
|
||||
filters = { ...filters, missing: false }
|
||||
|
||||
const handleOnClick = () => {
|
||||
dataProvider
|
||||
|
||||
Reference in New Issue
Block a user