mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-01 02:13:33 +00:00
Fix favorite mutation
This commit is contained in:
parent
8d5c82b0c6
commit
cef92243f5
5 changed files with 123 additions and 59 deletions
|
|
@ -271,6 +271,7 @@ export const AlbumArtistDetailContent = () => {
|
|||
id: [detailQuery.data.id],
|
||||
type: LibraryItem.ALBUM_ARTIST,
|
||||
},
|
||||
serverId: detailQuery.data.serverId,
|
||||
});
|
||||
} else {
|
||||
createFavoriteMutation.mutate({
|
||||
|
|
@ -278,6 +279,7 @@ export const AlbumArtistDetailContent = () => {
|
|||
id: [detailQuery.data.id],
|
||||
type: LibraryItem.ALBUM_ARTIST,
|
||||
},
|
||||
serverId: detailQuery.data.serverId,
|
||||
});
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue