Fix syntax. Emit relaydisconnect so connect button changes
This commit is contained in:
parent
fbfeec8fca
commit
91b0ddc259
|
@ -390,6 +390,7 @@ function($rootScope,
|
||||||
$rootScope.lastError = Date.now();
|
$rootScope.lastError = Date.now();
|
||||||
$rootScope.errorMessage = true;
|
$rootScope.errorMessage = true;
|
||||||
$rootScope.securityError = true;
|
$rootScope.securityError = true;
|
||||||
|
$rootScope.$emit('relayDisconnect');
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue