mirror of https://github.com/BTCPrivate/copay.git
fix insight notification
This commit is contained in:
parent
1b82c3b52e
commit
80376c16f8
|
@ -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…
Reference in New Issue