Merge branch 'main' of https://github.com/ciderapp/Cider
This commit is contained in:
commit
fc0adabdc8
2 changed files with 2 additions and 1 deletions
|
@ -2571,6 +2571,7 @@ const app = new Vue({
|
|||
if (type.slice(-1) != "s") {
|
||||
type += "s"
|
||||
}
|
||||
type = type.replace("library-", "")
|
||||
let id = item.attributes.playParams.catalogId ?? item.id
|
||||
|
||||
let index = types.findIndex(function (type) {
|
||||
|
|
|
@ -101,7 +101,7 @@
|
|||
methods: {
|
||||
async checkLibrary() {
|
||||
if(this.addedToLibrary) {return this.addedToLibrary}
|
||||
if(this.item.type.includes("library-") || this.item.type.includes("station")) {
|
||||
if(this.item.type.includes("library-playlists") || this.item.type.includes("station")) {
|
||||
this.addedToLibrary = true
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue