fix message in mobile

This commit is contained in:
Gabriel Bazán 2015-10-30 17:03:08 -03:00
parent f3d12f5a14
commit 930cde8dd1
1 changed files with 7 additions and 3 deletions

View File

@ -756,14 +756,18 @@ angular.module('copayApp.controllers').controller('indexController', function($r
if (err) return cb(err);
var localTxs = [];
if (!txs) {
self.showWaitingSign = true;
return cb(null, localTxs);
}
try {
localTxs = JSON.parse(txs);
} catch (ex) {
$log.warn(ex);
}
if (!localTxs) self.showWaitingSign = true;
return cb(null, self.removeSoftConfirmedTx(localTxs));
});
}
@ -1268,4 +1272,4 @@ angular.module('copayApp.controllers').controller('indexController', function($r
self.setFocusedWallet();
});
});
});
});