summaryrefslogtreecommitdiff
path: root/src/views/Settings/Network/Network.vue
diff options
context:
space:
mode:
authorEd Tanous <ed@tanous.net>2024-02-27 22:26:24 +0300
committerEd Tanous <ed@tanous.net>2024-03-05 07:23:10 +0300
commit8132399c29a07b783d2b24ccd80da7676460dbf3 (patch)
treed309b7cdaeeb63092d905da2a2df97e492e3bb02 /src/views/Settings/Network/Network.vue
parenta0c29207a44028fd04e881bbd4e3cbc44ced35ac (diff)
downloadwebui-vue-8132399c29a07b783d2b24ccd80da7676460dbf3.tar.xz
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>
Diffstat (limited to 'src/views/Settings/Network/Network.vue')
-rw-r--r--src/views/Settings/Network/Network.vue23
1 files changed, 13 insertions, 10 deletions
diff --git a/src/views/Settings/Network/Network.vue b/src/views/Settings/Network/Network.vue
index 2abbcd7a..f731c25f 100644
--- a/src/views/Settings/Network/Network.vue
+++ b/src/views/Settings/Network/Network.vue
@@ -117,24 +117,27 @@ export default {
},
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();
},