This commit is contained in:
Aylur
2023-07-22 12:18:51 +02:00
parent 7946c3fff9
commit d30f2e9a91
+3 -1
View File
@@ -76,7 +76,9 @@ class Wifi extends Service{
bssid: ap.bssid,
address: ap.hw_address,
lastSeen: ap.last_seen,
ssid: NM.utils_ssid_to_utf8(ap.ssid.get_data() || new Uint8Array),
ssid: ap.ssid
? NM.utils_ssid_to_utf8(ap.ssid.get_data() || new Uint8Array)
: 'Unknown',
active: ap === this._ap,
strength: ap.strength,
}));