minor linting

This commit is contained in:
les
2021-02-12 16:56:09 +01:00
parent 52e40bc61b
commit 0ec5eb206d

View File

@@ -87,7 +87,7 @@ export default {
} }
}, },
async createUser () { async createUser () {
if (!this.$refs.user_form.validate()) return if (!this.$refs.user_form.validate()) { return }
try { try {
this.loading = true this.loading = true
const user = await this.$axios.$post('/user', this.new_user) const user = await this.$axios.$post('/user', this.new_user)