diff options
Diffstat (limited to 'src/views/Overview')
-rw-r--r-- | src/views/Overview/Overview.vue | 24 | ||||
-rw-r--r-- | src/views/Overview/OverviewEvents.vue | 12 | ||||
-rw-r--r-- | src/views/Overview/OverviewQuickLinks.vue | 10 |
3 files changed, 23 insertions, 23 deletions
diff --git a/src/views/Overview/Overview.vue b/src/views/Overview/Overview.vue index 570f8494..2672af7e 100644 --- a/src/views/Overview/Overview.vue +++ b/src/views/Overview/Overview.vue @@ -87,13 +87,13 @@ </template> <script> -import OverviewQuickLinks from "./OverviewQuickLinks"; -import OverviewEvents from "./OverviewEvents"; -import PageTitle from "../../components/Global/PageTitle"; -import PageSection from "../../components/Global/PageSection"; -import { mapState } from "vuex"; +import OverviewQuickLinks from './OverviewQuickLinks'; +import OverviewEvents from './OverviewEvents'; +import PageTitle from '../../components/Global/PageTitle'; +import PageSection from '../../components/Global/PageSection'; +import { mapState } from 'vuex'; export default { - name: "Overview", + name: 'Overview', components: { OverviewQuickLinks, OverviewEvents, @@ -117,12 +117,12 @@ export default { }), methods: { getOverviewInfo() { - this.$store.dispatch("overview/getServerInfo"); - this.$store.dispatch("global/getHostName"); - this.$store.dispatch("firmware/getFirmwareInfo"); - this.$store.dispatch("powerConsumption/getPowerData"); - this.$store.dispatch("powerCap/getPowerCapData"); - this.$store.dispatch("networkSettings/getNetworkData"); + this.$store.dispatch('overview/getServerInfo'); + this.$store.dispatch('global/getHostName'); + this.$store.dispatch('firmware/getFirmwareInfo'); + this.$store.dispatch('powerConsumption/getPowerData'); + this.$store.dispatch('powerCap/getPowerCapData'); + this.$store.dispatch('networkSettings/getNetworkData'); } } }; diff --git a/src/views/Overview/OverviewEvents.vue b/src/views/Overview/OverviewEvents.vue index 05106067..07aab1d5 100644 --- a/src/views/Overview/OverviewEvents.vue +++ b/src/views/Overview/OverviewEvents.vue @@ -2,11 +2,11 @@ <div> <b-list-group v-for="logData in eventLogData" :key="logData.id"> <b-list-group-item href="#" class="flex-column align-items-start"> - {{ "#" + logData.logId }} + {{ '#' + logData.logId }} <b-badge variant="danger">{{ logData.priority }}</b-badge> <div class="d-flex w-100 justify-content-between"> <small>{{ - logData.Timestamp | date("MMM DD YYYY HH:MM:SS A ZZ") + logData.Timestamp | date('MMM DD YYYY HH:MM:SS A ZZ') }}</small> <ChevronRight16 /> </div> @@ -20,9 +20,9 @@ </template> <script> -import ChevronRight16 from "@carbon/icons-vue/es/chevron--right/16"; +import ChevronRight16 from '@carbon/icons-vue/es/chevron--right/16'; export default { - name: "events", + name: 'events', components: { ChevronRight16 }, @@ -31,12 +31,12 @@ export default { }, computed: { eventLogData() { - return this.$store.getters["eventLog/eventLogData"]; + return this.$store.getters['eventLog/eventLogData']; } }, methods: { getEventLogData() { - this.$store.dispatch("eventLog/getEventLogData"); + this.$store.dispatch('eventLog/getEventLogData'); } } }; diff --git a/src/views/Overview/OverviewQuickLinks.vue b/src/views/Overview/OverviewQuickLinks.vue index 577ea5ff..726eaf7d 100644 --- a/src/views/Overview/OverviewQuickLinks.vue +++ b/src/views/Overview/OverviewQuickLinks.vue @@ -4,7 +4,7 @@ <b-list-group-item> <dl> <dt>BMC time</dt> - <dd>{{ bmcTime | date("MMM, DD YYYY HH:MM:SS A ZZ") }}</dd> + <dd>{{ bmcTime | date('MMM, DD YYYY HH:MM:SS A ZZ') }}</dd> </dl> </b-list-group-item> <b-list-group-item> @@ -35,9 +35,9 @@ </template> <script> -import ChevronRight16 from "@carbon/icons-vue/es/chevron--right/16"; +import ChevronRight16 from '@carbon/icons-vue/es/chevron--right/16'; export default { - name: "quickLinks", + name: 'quickLinks', components: { ChevronRight16 }, @@ -46,12 +46,12 @@ export default { }, computed: { bmcTime() { - return this.$store.getters["global/bmcTime"]; + return this.$store.getters['global/bmcTime']; } }, methods: { getBmcTime() { - this.$store.dispatch("global/getBmcTime"); + this.$store.dispatch('global/getBmcTime'); } }, data() { |