minor
This commit is contained in:
@@ -63,7 +63,7 @@ export default {
|
||||
}
|
||||
},
|
||||
async fetch () {
|
||||
this.smtp = await this.$axios.$get('/settings/smtp')
|
||||
this.smtp = await this.$axios.$get('/settings/smtp').catch(_e => ({ auth: {} }))
|
||||
},
|
||||
computed: mapState(['settings']),
|
||||
watch: {
|
||||
|
||||
@@ -41,7 +41,7 @@ export default {
|
||||
return { collections: [], mdiChevronLeft }
|
||||
},
|
||||
async fetch () {
|
||||
this.collections = await this.$axios.$get('collections')
|
||||
this.collections = await this.$axios.$get('collections').catch(_e => [])
|
||||
},
|
||||
name: 'Default',
|
||||
components: { Nav, Snackbar, Footer, Confirm },
|
||||
|
||||
@@ -51,9 +51,7 @@ export default {
|
||||
valid: false
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
...mapState(['settings'])
|
||||
},
|
||||
computed: mapState(['settings']),
|
||||
methods: {
|
||||
async forgot () {
|
||||
if (!this.email) {
|
||||
|
||||
Reference in New Issue
Block a user