Revert "Fix unlove"
This commit is contained in:
parent
8754001f0d
commit
3c8c3d484c
1 changed files with 1 additions and 1 deletions
|
@ -3770,7 +3770,7 @@ const app = new Vue({
|
|||
unlove(item) {
|
||||
let type = item.type.slice(-1) === "s" ? item.type : item.type + "s"
|
||||
let id = item.attributes.playParams.catalogId ? item.attributes.playParams.catalogId : item.id
|
||||
if (item.id != null && (item.id.toString()).startsWith("i.")) {
|
||||
if (item.id.startsWith("i.")) {
|
||||
if (!type.startsWith("library-")) {
|
||||
type = "library-" + type
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue