Little fixes on reconnecting event
This commit is contained in:
parent
4f5acdcfa6
commit
6bcc7a4369
1 changed files with 2 additions and 2 deletions
|
|
@ -667,10 +667,10 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
||||||
|
|
||||||
$rootScope.$on('Local/Online', function(event) {
|
$rootScope.$on('Local/Online', function(event) {
|
||||||
$log.debug('### Online event');
|
$log.debug('### Online event');
|
||||||
|
self.isOffline = false;
|
||||||
|
self.offLineSince = null;
|
||||||
if (self.isOffline) {
|
if (self.isOffline) {
|
||||||
self.debouncedUpdate();
|
self.debouncedUpdate();
|
||||||
self.isOffline = false;
|
|
||||||
self.offLineSince = null;
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue