Skip to content
Snippets Groups Projects
Commit 03ed465f authored by alfredo's avatar alfredo
Browse files

me

parent 9aa5745d
No related branches found
No related tags found
No related merge requests found
...@@ -177,7 +177,7 @@ class Antifurto { ...@@ -177,7 +177,7 @@ class Antifurto {
// return; // return;
} }
const previousStatus = Antifurto.status; const previousStatus = Antifurto.status;
if (fromServer || scenariPresent) { if (fromServer) {
Antifurto.showChangeAntifurtoStatus(previousStatus, newStatus, fromScenari, fromServer); Antifurto.showChangeAntifurtoStatus(previousStatus, newStatus, fromScenari, fromServer);
} else { } else {
// server set the status of the antitheft // server set the status of the antitheft
......
...@@ -411,7 +411,7 @@ class Scenari { ...@@ -411,7 +411,7 @@ class Scenari {
throw error; throw error;
} }
} }
if(antifurtoIsWorking || fromServer){ if(antifurtoIsWorking){
Scenari.showChangeAntifurtoStatus(newStatus,fromServer); Scenari.showChangeAntifurtoStatus(newStatus,fromServer);
} else { } else {
// server send click of IN0 // server send click of IN0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment