Skip network status updates for quit networks
This commit is contained in:
parent
f1994352bd
commit
5ba0e33fb9
@ -33,6 +33,11 @@ socket.on("network:options", function(data) {
|
||||
|
||||
socket.on("network:status", function(data) {
|
||||
const network = vueApp.networks.find((n) => n.uuid === data.network);
|
||||
|
||||
if (!network) {
|
||||
return;
|
||||
}
|
||||
|
||||
network.status.connected = data.connected;
|
||||
network.status.secure = data.secure;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user