mirror of
https://github.com/HendrikRauh/dmx-interface.git
synced 2025-07-05 13:48:53 +00:00
Removal of an attribute that was too much
This commit is contained in:
parent
7af1725665
commit
c415ffa8b5
1 changed files with 2 additions and 1 deletions
|
@ -21,6 +21,7 @@ refreshButton.addEventListener("click", async () => {
|
||||||
// check if connected via WiFi-Station
|
// check if connected via WiFi-Station
|
||||||
if (data.connection === 0) {
|
if (data.connection === 0) {
|
||||||
// show currently connected wifi
|
// show currently connected wifi
|
||||||
|
// show currently connected WiFi
|
||||||
insertNetworks([data.ssid]);
|
insertNetworks([data.ssid]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -68,6 +69,6 @@ async function loadNetworks() {
|
||||||
async function updateNetworks() {
|
async function updateNetworks() {
|
||||||
const networks = await loadNetworks();
|
const networks = await loadNetworks();
|
||||||
if (networks) {
|
if (networks) {
|
||||||
insertNetworks(["", ...networks], true);
|
insertNetworks(["", ...networks]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue