Fix empty category select
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
parent
8fa1cb9392
commit
a2e7797736
1 changed files with 3 additions and 1 deletions
|
@ -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': [
|
||||
|
|
Loading…
Reference in a new issue