Revert "revert"

This reverts commit 24313b53cf.
This commit is contained in:
vapormusic 2022-02-16 13:21:09 +07:00
parent cd6a5ac10d
commit 209d3889fb
2 changed files with 5 additions and 5 deletions

View file

@ -555,7 +555,7 @@ const app = new Vue({
} }
).then(() => { ).then(() => {
if (this.page == 'playlist_' + this.showingPlaylist.id) { if (this.page == 'playlist_' + this.showingPlaylist.id) {
this.getPlaylistFromID(this.showingPlaylist.id) this.getPlaylistFromID(this.showingPlaylist.id, true)
} }
}) })
}, },
@ -997,7 +997,7 @@ const app = new Vue({
console.log(res) console.log(res)
self.appRoute(`playlist_` + res.id); self.appRoute(`playlist_` + res.id);
self.showingPlaylist = []; self.showingPlaylist = [];
self.getPlaylistFromID(app.page.substring(9)) self.getPlaylistFromID(app.page.substring(9), true)
self.playlists.listing.push({ self.playlists.listing.push({
id: res.id, id: res.id,
attributes: { attributes: {
@ -1572,14 +1572,14 @@ const app = new Vue({
if (kind == "appleCurator") { if (kind == "appleCurator") {
app.appleCurator = a.data.data[0] app.appleCurator = a.data.data[0]
} else { } else {
this.getPlaylistContinuous(a) this.getPlaylistContinuous(a, true)
} }
} }
} finally { } finally {
if (kind == "appleCurator") { if (kind == "appleCurator") {
app.appleCurator = a.data.data[0] app.appleCurator = a.data.data[0]
} else { } else {
this.getPlaylistContinuous(a) this.getPlaylistContinuous(a, true)
} }
} }
; ;

View file

@ -189,7 +189,7 @@
openPlaylist(item) { openPlaylist(item) {
this.$root.appRoute(`playlist_` + item.id); this.$root.appRoute(`playlist_` + item.id);
this.$root.showingPlaylist = []; this.$root.showingPlaylist = [];
this.$root.getPlaylistFromID(this.$root.page.substring(9)) this.$root.getPlaylistFromID(this.$root.page.substring(9), true)
}, },
getPlaylistChildren(item) { getPlaylistChildren(item) {
let self = this let self = this