diff options
author | Ed Tanous <ed@tanous.net> | 2024-02-27 22:26:24 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2024-03-05 07:23:10 +0300 |
commit | 8132399c29a07b783d2b24ccd80da7676460dbf3 (patch) | |
tree | d309b7cdaeeb63092d905da2a2df97e492e3bb02 /src/views/Settings/Network/Network.vue | |
parent | a0c29207a44028fd04e881bbd4e3cbc44ced35ac (diff) | |
download | webui-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.vue | 23 |
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(); }, |