Fix error if backView does not exist
This commit is contained in:
parent
21e54829a6
commit
1a12ef181a
1 changed files with 1 additions and 1 deletions
|
|
@ -79,8 +79,8 @@ angular.module('copayApp.controllers').controller('copayersController',
|
||||||
};
|
};
|
||||||
|
|
||||||
$scope.goHome = function() {
|
$scope.goHome = function() {
|
||||||
$ionicHistory.removeBackView();
|
|
||||||
$state.go('tabs.home');
|
$state.go('tabs.home');
|
||||||
|
$ionicHistory.clearHistory();
|
||||||
};
|
};
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue