mirror of
https://github.com/navidrome/navidrome.git
synced 2026-03-04 06:35:52 +00:00
Fix playlist delete and reorder actions
This commit is contained in:
parent
ac42cfd3d6
commit
555f059dff
@ -95,7 +95,7 @@ const PlaylistSongs = ({ playlistId, readOnly, actions, ...props }) => {
|
||||
|
||||
const onAddToPlaylist = useCallback(
|
||||
(pls) => {
|
||||
if (pls.artID === playlistId) {
|
||||
if (pls.id === playlistId) {
|
||||
refetch()
|
||||
}
|
||||
},
|
||||
@ -224,7 +224,7 @@ const SanitizedPlaylistSongs = (props) => {
|
||||
<>
|
||||
{loaded && (
|
||||
<PlaylistSongs
|
||||
playlistId={props.artID}
|
||||
playlistId={props.id}
|
||||
actions={props.actions}
|
||||
pagination={props.pagination}
|
||||
{...rest}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user