Cleanup
This commit is contained in:
parent
50061f29f9
commit
e2a0c652c3
1 changed files with 3 additions and 3 deletions
|
@ -278,7 +278,7 @@
|
|||
inPlaylist: false,
|
||||
searchQuery: "",
|
||||
displayListing: [],
|
||||
hasNestedPlaylist: null,
|
||||
hasNestedPlaylist: false,
|
||||
}
|
||||
},
|
||||
mounted: function () {
|
||||
|
@ -329,7 +329,7 @@
|
|||
return x.attributes.discNumber
|
||||
}).filter((item, i, ar) => ar.indexOf(item) === i);
|
||||
|
||||
if ((discs && discs.length > 1) || (discs && this.hasNestedPlaylist == true)) {
|
||||
if ((discs && discs.length > 1) || (discs && this.hasNestedPlaylist)) {
|
||||
for (disc of discs) {
|
||||
let songs = songlists.filter(x => x.attributes.discNumber == disc);
|
||||
this.nestedPlaylist.push({ disc: disc, tracks: songs })
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue