Fix empty category select

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
Michael Mayer 2020-06-08 18:39:01 +02:00
parent 8fa1cb9392
commit a2e7797736

View file

@ -138,8 +138,10 @@
Name: this.$gettext('All Countries')
}].concat(this.$config.get('countries'));
const configValues = this.$config.values;
return {
categories: this.$config.values.albumCategories,
categories: configValues.albumCategories ? configValues.albumCategories : [],
searchExpanded: false,
options: {
'views': [