This commit is contained in:
vapormusic 2022-01-13 20:48:13 +07:00
parent fc0adabdc8
commit 9b5cbafdc4

View file

@ -371,6 +371,8 @@
"hidden": true, "hidden": true,
"action": async function () { "action": async function () {
console.log("remove"); console.log("remove");
let item_id = self.item.attributes.playParams.id ?? self.item.id;
let data_type = self.item.attributes.playParams.kind ?? self.item.type;
await self.removeFromLibrary(item_id); await self.removeFromLibrary(item_id);
self.addedToLibrary = false self.addedToLibrary = false
} }