diff options
author | Derick Montague <derick.montague@ibm.com> | 2020-01-24 00:45:57 +0300 |
---|---|---|
committer | Yoshie Muranaka <yoshiemuranaka@gmail.com> | 2020-01-29 01:18:05 +0300 |
commit | 5e7ac49058e5dc37fd43ecf3c0d06f5dda14af5b (patch) | |
tree | 7d7e9f96d1f2e41a702792c3268b81629f3021be /src/views/Login | |
parent | 256f5b967beb1505cab73ce59f534b6b9860e38f (diff) | |
download | webui-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.vue | 14 |
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; |