summaryrefslogtreecommitdiff
path: root/src/views/Login
diff options
context:
space:
mode:
authorGunnar Mills <gmills@us.ibm.com>2020-01-29 05:18:40 +0300
committerGunnar Mills <gmills@us.ibm.com>2020-01-29 05:19:24 +0300
commitc4844b457cb7eeb8cab0ee8dca179be684a38b17 (patch)
tree0856ee85b0d0fd9cfc0e647cab40d02fb2bedf13 /src/views/Login
parentff4ab407dac4b5652bf8b7a096894ba461a6cf6a (diff)
downloadwebui-vue-c4844b457cb7eeb8cab0ee8dca179be684a38b17.tar.xz
Revert "Change eslint rules to use vue recommended"
Merged accidentally. Although this one did have the proper +1s/+2s. The 2 underneath did not. The author will resubmit. This reverts commit 5e7ac49058e5dc37fd43ecf3c0d06f5dda14af5b. Change-Id: Iceb1de3a170cc0b592b183545c792aa3eb87bfee Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Diffstat (limited to 'src/views/Login')
-rw-r--r--src/views/Login/Login.vue14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/views/Login/Login.vue b/src/views/Login/Login.vue
index ea1eac6b..706d3ecc 100644
--- a/src/views/Login/Login.vue
+++ b/src/views/Login/Login.vue
@@ -15,10 +15,10 @@
</b-col>
<b-col md="6">
- <b-form class="login-form" novalidate @submit.prevent="login">
+ <b-form class="login-form" @submit.prevent="login" novalidate>
<b-alert
- v-if="authStatus == 'error'"
class="login-error"
+ v-if="authStatus == 'error'"
show
variant="danger"
>
@@ -72,6 +72,11 @@
<script>
export default {
name: 'Login',
+ computed: {
+ authStatus() {
+ return this.$store.getters['authentication/authStatus'];
+ }
+ },
data() {
return {
errorMsg: {
@@ -85,11 +90,6 @@ export default {
disableSubmitButton: false
};
},
- computed: {
- authStatus() {
- return this.$store.getters['authentication/authStatus'];
- }
- },
methods: {
resetState: function() {
this.errorMsg.title = null;