Reformat files with new linter
All changes should be whitespace, and were done using npm run-script
lint.
Change-Id: I943c6b435c5c872841af5affc1e89910468b5ca6
Signed-off-by: Ed Tanous <ed@tanous.net>
diff --git a/src/views/Settings/DateTime/DateTime.vue b/src/views/Settings/DateTime/DateTime.vue
index f5e063d..a3fec36 100644
--- a/src/views/Settings/DateTime/DateTime.vue
+++ b/src/views/Settings/DateTime/DateTime.vue
@@ -297,7 +297,7 @@
},
bmcTime() {
this.form.manual.date = this.$options.filters.formatDate(
- this.$store.getters['global/bmcTime']
+ this.$store.getters['global/bmcTime'],
);
this.form.manual.time = this.$options.filters
.formatTime(this.$store.getters['global/bmcTime'])
@@ -408,7 +408,7 @@
parseInt(datesArray[1]) - 1, // User input month
datesArray[2], // User input day
timeArray[0], // User input hour
- timeArray[1] // User input minute
+ timeArray[1], // User input minute
);
return new Date(utcDate);
},
diff --git a/src/views/Settings/Network/Network.vue b/src/views/Settings/Network/Network.vue
index 2abbcd7..f731c25 100644
--- a/src/views/Settings/Network/Network.vue
+++ b/src/views/Settings/Network/Network.vue
@@ -117,24 +117,27 @@
},
methods: {
getModalInfo() {
- this.defaultGateway = this.$store.getters[
- 'network/globalNetworkSettings'
- ][this.tabIndex].defaultGateway;
+ this.defaultGateway =
+ this.$store.getters['network/globalNetworkSettings'][
+ this.tabIndex
+ ].defaultGateway;
- this.currentHostname = this.$store.getters[
- 'network/globalNetworkSettings'
- ][this.tabIndex].hostname;
+ this.currentHostname =
+ this.$store.getters['network/globalNetworkSettings'][
+ this.tabIndex
+ ].hostname;
- this.currentMacAddress = this.$store.getters[
- 'network/globalNetworkSettings'
- ][this.tabIndex].macAddress;
+ this.currentMacAddress =
+ this.$store.getters['network/globalNetworkSettings'][
+ this.tabIndex
+ ].macAddress;
},
getTabIndex(selectedIndex) {
this.tabIndex = selectedIndex;
this.$store.dispatch('network/setSelectedTabIndex', this.tabIndex);
this.$store.dispatch(
'network/setSelectedTabId',
- this.ethernetData[selectedIndex].Id
+ this.ethernetData[selectedIndex].Id,
);
this.getModalInfo();
},
diff --git a/src/views/Settings/Network/TableIpv4.vue b/src/views/Settings/Network/TableIpv4.vue
index 8f10d62..8bd21cb 100644
--- a/src/views/Settings/Network/TableIpv4.vue
+++ b/src/views/Settings/Network/TableIpv4.vue
@@ -224,7 +224,7 @@
: this.$t('global.action.disable'),
okVariant: 'danger',
cancelTitle: this.$t('global.action.cancel'),
- }
+ },
)
.then((dhcpEnableConfirmed) => {
if (dhcpEnableConfirmed) {
diff --git a/src/views/Settings/PowerRestorePolicy/PowerRestorePolicy.vue b/src/views/Settings/PowerRestorePolicy/PowerRestorePolicy.vue
index 06e30f3..9f20629 100644
--- a/src/views/Settings/PowerRestorePolicy/PowerRestorePolicy.vue
+++ b/src/views/Settings/PowerRestorePolicy/PowerRestorePolicy.vue
@@ -78,7 +78,7 @@
this.$store
.dispatch(
'powerPolicy/setPowerRestorePolicy',
- this.policyValue || this.currentPowerRestorePolicy
+ this.policyValue || this.currentPowerRestorePolicy,
)
.then((message) => this.successToast(message))
.catch(({ message }) => this.errorToast(message))
diff --git a/src/views/Settings/SnmpAlerts/SnmpAlerts.vue b/src/views/Settings/SnmpAlerts/SnmpAlerts.vue
index 8a9b8e7..528033b 100644
--- a/src/views/Settings/SnmpAlerts/SnmpAlerts.vue
+++ b/src/views/Settings/SnmpAlerts/SnmpAlerts.vue
@@ -209,7 +209,7 @@
title: this.$tc('pageSnmpAlerts.modal.deleteSnmpDestinationTitle'),
okTitle: this.$tc('pageSnmpAlerts.deleteDestination'),
cancelTitle: this.$t('global.action.cancel'),
- }
+ },
)
.then((deleteConfirmed) => {
if (deleteConfirmed) {
@@ -231,19 +231,19 @@
.msgBoxConfirm(
this.$tc(
'pageSnmpAlerts.modal.batchDeleteConfirmMessage',
- this.selectedRows.length
+ this.selectedRows.length,
),
{
title: this.$tc(
'pageSnmpAlerts.modal.deleteSnmpDestinationTitle',
- this.selectedRows.length
+ this.selectedRows.length,
),
okTitle: this.$tc(
'pageSnmpAlerts.deleteDestination',
- this.selectedRows.length
+ this.selectedRows.length,
),
cancelTitle: this.$t('global.action.cancel'),
- }
+ },
)
.then((deleteConfirmed) => {
if (deleteConfirmed) {
@@ -251,7 +251,7 @@
this.$store
.dispatch(
'snmpAlerts/deleteMultipleDestinations',
- this.selectedRows
+ this.selectedRows,
)
.then((messages) => {
messages.forEach(({ type, message }) => {