Fix list settings not being available when list backgrounds are disabled

This commit is contained in:
kolaente 2021-08-23 18:24:55 +02:00
parent 9f392c275e
commit 0947ae9ce9
No known key found for this signature in database
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'