summaryrefslogtreecommitdiff
path: root/src/views/Login
diff options
context:
space:
mode:
authorDerick Montague <derick.montague@ibm.com>2020-01-24 00:45:57 +0300
committerYoshie Muranaka <yoshiemuranaka@gmail.com>2020-01-29 01:18:05 +0300
commit5e7ac49058e5dc37fd43ecf3c0d06f5dda14af5b (patch)
tree7d7e9f96d1f2e41a702792c3268b81629f3021be /src/views/Login
parent256f5b967beb1505cab73ce59f534b6b9860e38f (diff)
downloadwebui-vue-5e7ac49058e5dc37fd43ecf3c0d06f5dda14af5b.tar.xz
Change eslint rules to use vue recommended
- Ran npm run lint - Resolved eslint issues Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: Icd433ca55321d8bceb941e2d13ebade72bd4981f
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 706d3ecc..ea1eac6b 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" @submit.prevent="login" novalidate>
+ <b-form class="login-form" novalidate @submit.prevent="login">
<b-alert
- class="login-error"
v-if="authStatus == 'error'"
+ class="login-error"
show
variant="danger"
>
@@ -72,11 +72,6 @@
<script>
export default {
name: 'Login',
- computed: {
- authStatus() {
- return this.$store.getters['authentication/authStatus'];
- }
- },
data() {
return {
errorMsg: {
@@ -90,6 +85,11 @@ export default {
disableSubmitButton: false
};
},
+ computed: {
+ authStatus() {
+ return this.$store.getters['authentication/authStatus'];
+ }
+ },
methods: {
resetState: function() {
this.errorMsg.title = null;