Fix delete on full playlist view
This commit is contained in:
parent
febe1a703c
commit
46374ef2b5
1 changed files with 1 additions and 1 deletions
|
@ -262,7 +262,7 @@ export const PlaylistDetailSongListHeaderFilters = ({
|
||||||
const handleDeletePlaylist = useCallback(() => {
|
const handleDeletePlaylist = useCallback(() => {
|
||||||
if (!detailQuery.data) return;
|
if (!detailQuery.data) return;
|
||||||
deletePlaylistMutation?.mutate(
|
deletePlaylistMutation?.mutate(
|
||||||
{ query: { id: detailQuery.data.id }, serverId: detailQuery.data.id },
|
{ query: { id: detailQuery.data.id }, serverId: detailQuery.data.serverId },
|
||||||
{
|
{
|
||||||
onError: (err) => {
|
onError: (err) => {
|
||||||
toast.error({
|
toast.error({
|
||||||
|
|
Reference in a new issue