Perform deep object verification on bitpayAccounts-v2. Ensure that nextStep for bitpay card is visible when no cards are cached.
This commit is contained in:
parent
17210d52bb
commit
91b6d2774b
2 changed files with 21 additions and 6 deletions
|
|
@ -289,6 +289,8 @@ angular.module('copayApp.controllers').controller('tabHomeController',
|
|||
if (err) return;
|
||||
if (lodash.isEmpty(data)) {
|
||||
$scope.bitpayCards = null;
|
||||
// Ensure next step for cards is visible
|
||||
storageService.setNextStep('BitpayCard', 'false', function(err) {});
|
||||
return;
|
||||
}
|
||||
$scope.bitpayCards = data;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue