fix details for incomplete wallets
This commit is contained in:
parent
ca0d7c425c
commit
4a2600e482
1 changed files with 5 additions and 0 deletions
|
|
@ -195,6 +195,11 @@ angular.module('copayApp.controllers').controller('walletDetailsController', fun
|
|||
$scope.completeTxHistory = [];
|
||||
|
||||
wallet = profileService.getWallet($stateParams.walletId);
|
||||
|
||||
if (!wallet.isComplete()) {
|
||||
return $state.go('wallet.copayers');
|
||||
};
|
||||
|
||||
$scope.wallet = wallet;
|
||||
$scope.requiresMultipleSignatures = wallet.credentials.m > 1;
|
||||
$scope.newTx = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue