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