From 3bdffbd726f4cc7c945da569f198c81b4bee0020 Mon Sep 17 00:00:00 2001 From: Rune Harlyk Date: Tue, 23 Apr 2024 21:52:13 +0200 Subject: [PATCH] Removes duplicate request --- interface/src/routes/wifi/sta/Wifi.svelte | 6 ------ 1 file changed, 6 deletions(-) diff --git a/interface/src/routes/wifi/sta/Wifi.svelte b/interface/src/routes/wifi/sta/Wifi.svelte index a5542b07..cdf44b5c 100644 --- a/interface/src/routes/wifi/sta/Wifi.svelte +++ b/interface/src/routes/wifi/sta/Wifi.svelte @@ -107,12 +107,6 @@ onDestroy(() => clearInterval(interval)); - onMount(() => { - if (!$page.data.features.security || $user.admin) { - getWifiSettings(); - } - }); - async function postWiFiSettings(data: WifiSettings) { try { const response = await fetch('/rest/wifiSettings', {