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 {
// return;
}
const previousStatus = Antifurto.status;
if (fromServer || scenariPresent) {
if (fromServer) {
Antifurto.showChangeAntifurtoStatus(previousStatus, newStatus, fromScenari, fromServer);
} else {
// server set the status of the antitheft
......
......@@ -411,7 +411,7 @@ class Scenari {
throw error;
}
}
if(antifurtoIsWorking || fromServer){
if(antifurtoIsWorking){
Scenari.showChangeAntifurtoStatus(newStatus,fromServer);
} else {
// 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