This commit is contained in:
les 2021-09-30 11:13:03 +02:00
parent 7747562425
commit 15f4425c4b
No known key found for this signature in database
GPG key ID: 352918250B012177

View file

@ -51,9 +51,13 @@ export default {
this.step = this.step + 1
},
async configCompleted () {
const user = await this.$axios.$post('/setup/restart')
this.step = this.step + 1
this.$refs.completed.start(user)
try {
const user = await this.$axios.$post('/setup/restart')
this.step = this.step + 1
this.$refs.completed.start(user)
} catch (e) {
this.$root.$message(e.response.data, { color: 'error' })
}
}
}
}