FE: cleaner getMac() + #1371

Signed-off-by: jokob-sk <jokob.sk@gmail.com>
This commit is contained in:
jokob-sk
2025-12-29 07:51:46 +11:00
parent eb414b7e70
commit 494451b316
2 changed files with 17 additions and 19 deletions

View File

@@ -920,7 +920,13 @@ function getMac(){
get: (searchParams, prop) => searchParams.get(prop),
});
return params.mac
mac = params.mac;
if (mac == "") {
console.error("Couldn't retrieve mac");
}
return mac;
}
// -----------------------------------------------------------------------------