Merge pull request #225 from gabrielbazan7/feat/clearHis
go to wallet when clear history
This commit is contained in:
commit
d0a050aa81
1 changed files with 5 additions and 3 deletions
|
|
@ -122,11 +122,13 @@ angular.module('copayApp.controllers').controller('preferencesHistory',
|
||||||
$log.error(err);
|
$log.error(err);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$scope.$emit('Local/ClearHistory');
|
|
||||||
|
|
||||||
|
$ionicHistory.removeBackView();
|
||||||
|
$state.go('tabs.home');
|
||||||
$timeout(function() {
|
$timeout(function() {
|
||||||
$ionicHistory.removeBackView();
|
$state.transitionTo('tabs.wallet', {
|
||||||
$state.go('tabs.home');
|
walletId: $scope.wallet.id
|
||||||
|
});
|
||||||
}, 100);
|
}, 100);
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue