fix insight notification
This commit is contained in:
parent
1b82c3b52e
commit
80376c16f8
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ angular.module('copayApp.controllers').controller('HeaderController',
|
||||||
if (status === -1) {
|
if (status === -1) {
|
||||||
notification.success('Networking restored', 'Connection to Insight re-established');
|
notification.success('Networking restored', 'Connection to Insight re-established');
|
||||||
//$rootScope.insightError = 0;
|
//$rootScope.insightError = 0;
|
||||||
} else {
|
} else if (status !== 0) {
|
||||||
notification.error('Networking problem', 'Connection to Insight lost, reconnecting (attempt number '+status+')');
|
notification.error('Networking problem', 'Connection to Insight lost, reconnecting (attempt number '+status+')');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue