UI updates

This commit is contained in:
advplyr
2022-04-09 20:29:59 -05:00
parent 12a153d423
commit abf140bd21
10 changed files with 142 additions and 51 deletions
+7 -1
View File
@@ -123,7 +123,13 @@ export default {
}
return cat
})
this.shelves = this.shelves.concat(categories)
// Put continue listening shelf first
var continueListeningShelf = categories.find((c) => c.id == 'continue-listening')
if (continueListeningShelf) {
this.shelves = [continueListeningShelf, ...this.shelves]
console.log(this.shelves)
}
this.shelves = this.shelves.concat(categories.filter((c) => c.id != 'continue-listening'))
}
this.loading = false
},