Check validity of cachedStatus.
This commit is contained in:
parent
4250a98718
commit
0c8d145f73
1 changed files with 1 additions and 1 deletions
|
|
@ -145,7 +145,7 @@ angular
|
|||
var walletStatus = null;
|
||||
if (wallet.status && wallet.status.isValid) {
|
||||
walletStatus = wallet.status;
|
||||
} else if (wallet.cachedStatus) {
|
||||
} else if (wallet.cachedStatus && wallet.status.isValid) {
|
||||
walletStatus = wallet.cachedStatus;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue