initialize db before nuxt is ready, fix #131

This commit is contained in:
lesion
2021-12-06 12:11:04 +01:00
parent 40f6978e76
commit 1d80faaa37
4 changed files with 16 additions and 20 deletions

View File

@@ -83,7 +83,7 @@ export default {
computed: {
...mapState(['settings']),
showSMTPAlert () {
return !this.setup && !this.settings.admin_email && !this.settings.smtp && !this.settings.smtp.host && !this.settings.smtp.user
return !this.setup && (!this.settings.admin_email || !this.settings.smtp || !this.settings.smtp.host || !this.settings.smtp.user)
},
instance_locale: {
get () { return this.settings.instance_locale },