summaryrefslogtreecommitdiff
path: root/src/views/Overview/Overview.vue
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/Overview/Overview.vue
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/Overview/Overview.vue')
-rw-r--r--src/views/Overview/Overview.vue30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/views/Overview/Overview.vue b/src/views/Overview/Overview.vue
index 4412d19d..1c4ba55f 100644
--- a/src/views/Overview/Overview.vue
+++ b/src/views/Overview/Overview.vue
@@ -1,12 +1,12 @@
<template>
<b-container fluid>
- <PageTitle />
+ <page-title />
<div class="quicklinks-section">
- <OverviewQuickLinks />
+ <overview-quick-links />
</div>
<b-row>
<b-col>
- <PageSection sectionTitle="Server Information">
+ <page-section section-title="Server Information">
<b-row>
<b-col sm="6">
<dl>
@@ -33,8 +33,8 @@
</dl>
</b-col>
</b-row>
- </PageSection>
- <PageSection sectionTitle="BMC information">
+ </page-section>
+ <page-section section-title="BMC information">
<b-row>
<b-col sm="6">
<dl>
@@ -51,7 +51,7 @@
<b-col sm="6">
<dl>
<dt>IP address</dt>
- <dd v-for="ip in ipAddress" v-bind:key="ip.id">{{ ip }}</dd>
+ <dd v-for="ip in ipAddress" :key="ip.id">{{ ip }}</dd>
</dl>
</b-col>
<b-col sm="6">
@@ -61,8 +61,8 @@
</dl>
</b-col>
</b-row>
- </PageSection>
- <PageSection sectionTitle="Power consumption">
+ </page-section>
+ <page-section section-title="Power consumption">
<b-row>
<b-col sm="6">
<dl>
@@ -77,12 +77,12 @@
</dl>
</b-col>
</b-row>
- </PageSection>
+ </page-section>
</b-col>
</b-row>
- <PageSection sectionTitle="High priority events">
- <OverviewEvents />
- </PageSection>
+ <page-section section-title="High priority events">
+ <overview-events />
+ </page-section>
</b-container>
</template>
@@ -100,9 +100,6 @@ export default {
PageTitle,
PageSection
},
- created() {
- this.getOverviewInfo();
- },
computed: mapState({
serverModel: state => state.overview.serverModel,
serverManufacturer: state => state.overview.serverManufacturer,
@@ -115,6 +112,9 @@ export default {
ipAddress: state => state.networkSettings.ipAddress,
macAddress: state => state.networkSettings.macAddress
}),
+ created() {
+ this.getOverviewInfo();
+ },
methods: {
getOverviewInfo() {
this.$store.dispatch('overview/getServerInfo');