mirror of
https://framagit.org/les/gancio.git
synced 2025-01-31 16:42:22 +01:00
minor
This commit is contained in:
parent
92c676622d
commit
16e508b213
3 changed files with 3 additions and 5 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue