fixed back button in onboarding backup

This commit is contained in:
Kadir Sekha 2018-01-23 12:47:59 +00:00
commit 809e730c0b

View file

@ -42,7 +42,7 @@ angular.module('copayApp.controllers').controller('backupWarningController', fun
$scope.goBack = function() {
if ($stateParams.from == 'onboarding') {
$state.go($scope.toState, {
$state.go($scope.fromState, {
bchWalletId: $scope.bchWalletId,
btcWalletId: $scope.btcWalletId
});