New data model updates for bookshelf, covers, cards

This commit is contained in:
advplyr
2022-03-23 17:59:14 -05:00
parent 84bab5de1b
commit 03312390cb
16 changed files with 1094 additions and 454 deletions
+2 -1
View File
@@ -122,7 +122,7 @@ export default {
methods: {
async fetchCategories() {
var categories = await this.$axios
.$get(`/api/libraries/${this.currentLibraryId}/categories`)
.$get(`/api/libraries/${this.currentLibraryId}/personalized?minified=1`)
.then((data) => {
return data
})
@@ -131,6 +131,7 @@ export default {
return []
})
this.shelves = categories
console.log('Shelves', this.shelves)
},
async socketInit(isConnected) {
if (isConnected && this.currentLibraryId) {