Fix list settings not being available when list backgrounds are disabled
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
kolaente 2021-08-23 18:24:55 +02:00
parent 9f392c275e
commit 0947ae9ce9
Signed by: konrad
GPG Key ID: F40E70337AB24C9B

View File

@ -101,7 +101,7 @@ export default {
}, },
computed: { computed: {
backgroundsEnabled() { backgroundsEnabled() {
return this.$store.state.config.enabledBackgroundProviders.length > 0 return this.$store.state.config.enabledBackgroundProviders !== null && this.$store.state.config.enabledBackgroundProviders.length > 0
}, },
listRoutePrefix() { listRoutePrefix() {
let name = 'list' let name = 'list'