fix safeUnspents report

This commit is contained in:
Matias Alejo Garcia 2014-06-05 14:55:19 -03:00
commit c64bf07ae3
6 changed files with 19 additions and 13 deletions

View file

@ -35,14 +35,15 @@ angular.module('copayApp.controllers').controller('HeaderController',
// Initialize alert notification (not show when init wallet)
$rootScope.txAlertCount = 0;
$rootScope.insightError = -1;
$rootScope.insightError = 0;
$rootScope.$watch('insightError', function(status) {
if (status === 0) {
if (status === -1) {
$rootScope.$flashMessage = {
type: 'success',
message: 'Networking Restored :)',
};
$rootScope.insightError = 0;
}
});