mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-10 04:30:25 +02:00
Fix delete on full playlist view
This commit is contained in:
+1
-1
@@ -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 New Issue
Block a user