fixes SHARED Wallet status, and refresh until it changes
This commit is contained in:
parent
139adb9974
commit
3b5387fb70
7 changed files with 103 additions and 35 deletions
|
|
@ -534,6 +534,7 @@ angular
|
|||
}
|
||||
|
||||
$rootScope.$on('$stateChangeStart', function(event, toState, toParams, fromState, fromParams) {
|
||||
$log.debug('Route change from:', fromState.name || '-', ' to:', toState.name);
|
||||
|
||||
if (!profileService.profile && toState.needProfile) {
|
||||
|
||||
|
|
@ -556,12 +557,12 @@ angular
|
|||
$state.transitionTo(toState.name || toState, toParams);
|
||||
}
|
||||
});
|
||||
}
|
||||
} else {
|
||||
if (profileService.focusedClient && !profileService.focusedClient.isComplete() && toState.walletShouldBeComplete) {
|
||||
|
||||
if (profileService.focusedClient && !profileService.focusedClient.isComplete() && toState.walletShouldBeComplete) {
|
||||
|
||||
$state.transitionTo('copayers');
|
||||
event.preventDefault();
|
||||
$state.transitionTo('copayers');
|
||||
event.preventDefault();
|
||||
}
|
||||
}
|
||||
|
||||
if (!animationService.transitionAnimated(fromState, toState)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue