summaryrefslogtreecommitdiffstats
path: root/webapp/src/components/UserCreateForm.vue
diff options
context:
space:
mode:
authorJannik Schönartz2019-02-26 01:18:03 +0100
committerJannik Schönartz2019-02-26 01:18:03 +0100
commit741cf724ae6cff9b023016b9a6f42a8a9f23647c (patch)
tree49e8f95b7d88e8dc069a5d41e540c3160d6bc018 /webapp/src/components/UserCreateForm.vue
parent[webapp] small ui fixes (diff)
downloadbas-741cf724ae6cff9b023016b9a6f42a8a9f23647c.tar.gz
bas-741cf724ae6cff9b023016b9a6f42a8a9f23647c.tar.xz
bas-741cf724ae6cff9b023016b9a6f42a8a9f23647c.zip
[webapp/setup] StartPageSetup now uses the new UserCreateForm component & small fixes
Diffstat (limited to 'webapp/src/components/UserCreateForm.vue')
-rw-r--r--webapp/src/components/UserCreateForm.vue6
1 files changed, 5 insertions, 1 deletions
diff --git a/webapp/src/components/UserCreateForm.vue b/webapp/src/components/UserCreateForm.vue
index 616ca3c..4287e1d 100644
--- a/webapp/src/components/UserCreateForm.vue
+++ b/webapp/src/components/UserCreateForm.vue
@@ -111,7 +111,8 @@ export default {
},
computed: {
...mapState('users', ['dialog']),
- show () { return this.dialog.show }
+ show () { return this.dialog.show },
+ usernameField () { return this.user.username }
},
watch: {
show (value) {
@@ -131,6 +132,9 @@ export default {
handler () {
this.$emit('input', this.user)
}
+ },
+ usernameField () {
+ this.usernameExistsError = false
}
},
methods: {