Add:Ebook library filters #971

This commit is contained in:
advplyr 2023-12-05 16:14:20 -06:00
parent a26f37aa49
commit 783f924bb9
18 changed files with 68 additions and 0 deletions

View file

@ -95,6 +95,11 @@ export default {
value: 'progress',
sublist: true
},
{
text: this.$strings.LabelEbooks,
value: 'ebooks',
sublist: true
},
{
text: this.$strings.ButtonIssues,
value: 'issues',
@ -192,6 +197,18 @@ export default {
}
]
},
ebooks() {
return [
{
id: 'ebook',
name: this.$strings.LabelHasEbook
},
{
id: 'supplementary',
name: this.$strings.LabelHasSupplementaryEbook
}
]
},
sublistItems() {
return (this[this.sublist] || []).map((item) => {
if (typeof item === 'string') {