summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Fullbright <kennyneedsmilky@gmail.com>2022-01-24 19:50:58 +0300
committerKenneth Fullbright <kennyneedsmilky@gmail.com>2022-01-24 19:50:58 +0300
commite61534a4ab6dc8c3108b2d2c47733cd438a8e0b2 (patch)
treeaa671a2511b6c5c6b329b98ad66ad1c27adc7bc7
parent99706ff21354cfe4550b91f8b5951d36d6a31ccb (diff)
downloadwebui-vue-e61534a4ab6dc8c3108b2d2c47733cd438a8e0b2.tar.xz
Fixed DHCP UseNTPServers Property Patch
DHCP property UseNTPServers is not working and its value is not getting reflected in backend. It always remains enabled irrespective on enable or disable on GUI. - Fixed the incorrect patch on the saveNtpState action. Signed-off-by: Kenneth Fullbright <kennyneedsmilky@gmail.com> Change-Id: Id0b7240e38f68bea8e98694bdcbe4e36e723bbcb
-rw-r--r--src/store/modules/Settings/NetworkStore.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/store/modules/Settings/NetworkStore.js b/src/store/modules/Settings/NetworkStore.js
index 54fb3e05..125eca7a 100644
--- a/src/store/modules/Settings/NetworkStore.js
+++ b/src/store/modules/Settings/NetworkStore.js
@@ -149,7 +149,7 @@ const NetworkStore = {
commit('setNtpState', ntpState);
const data = {
DHCPv4: {
- UseDNSServers: ntpState,
+ UseNTPServers: ntpState,
},
};
// Saving to the first interface automatically updates DHCPv4 and DHCPv6