mirror of
https://github.com/HendrikRauh/dmx-interface.git
synced 2025-05-18 21:55:34 +00:00
show warning for scanning networks only in access-point mode
This commit is contained in:
parent
7af1725665
commit
83945995a5
1 changed files with 2 additions and 2 deletions
|
@ -7,8 +7,8 @@ const refreshIcon = refreshButton.querySelector("img");
|
|||
let isLoading = false;
|
||||
|
||||
refreshButton.addEventListener("click", async () => {
|
||||
// check if interface is connected via WiFi
|
||||
if (data.connection == 0 || data.connection == 1) {
|
||||
// check if interface is in WiFi-AccessPoint mode
|
||||
if (data.connection == 1) {
|
||||
alert(
|
||||
"Beim WLAN-Scan wird die Verbindung hardwarebedingt kurzzeitig" +
|
||||
"unterbrochen.\n" +
|
||||
|
|
Loading…
Add table
Reference in a new issue