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/components/AppHeader/AppHeader.vue | |
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/components/AppHeader/AppHeader.vue')
-rw-r--r-- | src/components/AppHeader/AppHeader.vue | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/AppHeader/AppHeader.vue b/src/components/AppHeader/AppHeader.vue index 5c2c333c..b2d29c95 100644 --- a/src/components/AppHeader/AppHeader.vue +++ b/src/components/AppHeader/AppHeader.vue @@ -42,9 +42,6 @@ import StatusIcon from '../Global/StatusIcon'; export default { name: 'AppHeader', components: { IconAvatar, IconRenew, StatusIcon }, - created() { - this.getHostInfo(); - }, computed: { hostStatus() { return this.$store.getters['global/hostStatus']; @@ -61,6 +58,9 @@ export default { } } }, + created() { + this.getHostInfo(); + }, methods: { getHostInfo() { this.$store.dispatch('global/getHostStatus'); |