Update public source
This commit is contained in:
+8
-1
@@ -2427,6 +2427,10 @@ def api_network_wifi_devices():
|
||||
|
||||
devices, error = get_nm_wifi_devices()
|
||||
|
||||
vpn_connections, vpn_error = (
|
||||
get_active_vpn_connections()
|
||||
)
|
||||
|
||||
if error:
|
||||
|
||||
return jsonify(
|
||||
@@ -2498,7 +2502,10 @@ def api_network_wifi_devices():
|
||||
"No Wi-Fi interfaces found."
|
||||
if not devices
|
||||
else None
|
||||
)
|
||||
),
|
||||
"vpn_active": bool(vpn_connections),
|
||||
"vpn_connections": vpn_connections,
|
||||
"vpn_error": vpn_error
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user