diff --git a/client/components/app/BookShelfCategorized.vue b/client/components/app/BookShelfCategorized.vue index 13a21c08..17e1327f 100644 --- a/client/components/app/BookShelfCategorized.vue +++ b/client/components/app/BookShelfCategorized.vue @@ -87,7 +87,6 @@ export default { var categories = await this.$axios .$get(`/api/libraries/${this.currentLibraryId}/personalized?minified=1`) .then((data) => { - console.log('Personalized data', data) return data }) .catch((error) => { diff --git a/client/components/controls/FilterSelect.vue b/client/components/controls/FilterSelect.vue index ffca8201..041c465f 100644 --- a/client/components/controls/FilterSelect.vue +++ b/client/components/controls/FilterSelect.vue @@ -168,9 +168,16 @@ export default { }, sublistItems() { return (this[this.sublist] || []).map((item) => { - return { - text: item, - value: this.$encode(item) + if (typeof item === 'string') { + return { + text: item, + value: this.$encode(item) + } + } else { + return { + text: item.name, + value: item.id + } } }) }, diff --git a/client/components/controls/OrderSelect.vue b/client/components/controls/OrderSelect.vue index faf3e8ab..f963038c 100644 --- a/client/components/controls/OrderSelect.vue +++ b/client/components/controls/OrderSelect.vue @@ -86,6 +86,7 @@ export default { }, selectedText() { var _selected = this.selected + if (!_selected) return '' if (this.selected.startsWith('book.')) _selected = _selected.replace('book.', 'media.metadata.') var _sel = this.items.find((i) => i.value === _selected) if (!_sel) return '' diff --git a/client/components/modals/EditModal.vue b/client/components/modals/EditModal.vue index 3d056a93..61fa48f5 100644 --- a/client/components/modals/EditModal.vue +++ b/client/components/modals/EditModal.vue @@ -18,7 +18,7 @@
-Series placeholder
- -{{ label }}