Commit 3b4225b9 authored by Konrad Mohrfeldt's avatar Konrad Mohrfeldt

disable login button if a username has been entered

parent bad5c197
......@@ -40,7 +40,7 @@
return this.userModel === 'anonymous' && this.anonymousEdit
},
displayLogin () {
return this.userModel === 'anonymous' && this.anonymousLogin
return this.userModel === 'anonymous' && this.anonymousLogin && !this.username
},
user () {
return this.userModel === 'anonymous'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment