fix message in mobile
This commit is contained in:
parent
f3d12f5a14
commit
930cde8dd1
1 changed files with 7 additions and 3 deletions
|
|
@ -756,14 +756,18 @@ angular.module('copayApp.controllers').controller('indexController', function($r
|
||||||
if (err) return cb(err);
|
if (err) return cb(err);
|
||||||
|
|
||||||
var localTxs = [];
|
var localTxs = [];
|
||||||
|
|
||||||
|
if (!txs) {
|
||||||
|
self.showWaitingSign = true;
|
||||||
|
return cb(null, localTxs);
|
||||||
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
localTxs = JSON.parse(txs);
|
localTxs = JSON.parse(txs);
|
||||||
} catch (ex) {
|
} catch (ex) {
|
||||||
$log.warn(ex);
|
$log.warn(ex);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!localTxs) self.showWaitingSign = true;
|
|
||||||
|
|
||||||
return cb(null, self.removeSoftConfirmedTx(localTxs));
|
return cb(null, self.removeSoftConfirmedTx(localTxs));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue