Frontend: Fix albums view
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
parent
d0199598d0
commit
37ee277599
|
@ -187,7 +187,10 @@
|
|||
const settings = {};
|
||||
|
||||
let categories = [{"value": "", "text": this.$gettext("All Categories")}];
|
||||
categories = categories.concat(this.$config.values.albumCategories.map(cat => { return {"value": cat, "text": cat}; }));
|
||||
|
||||
if(this.$config.values.albumCategories) {
|
||||
categories = categories.concat(this.$config.values.albumCategories.map(cat => { return {"value": cat, "text": cat}; }));
|
||||
}
|
||||
|
||||
return {
|
||||
categories: categories,
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue