fix order when there are errors on funnel
This commit is contained in:
parent
8aa4d93f8f
commit
c8c82b3cb5
3 changed files with 30 additions and 26 deletions
|
|
@ -6,7 +6,7 @@ angular.module('copayApp.controllers').controller('CreateProfileController', fun
|
|||
|
||||
$scope.init = function() {
|
||||
identityService.goWalletHome();
|
||||
$scope.isMobile = isMobile.any();
|
||||
$scope.isMobile = 1; //isMobile.any();
|
||||
|
||||
$scope.createStep = 'storage';
|
||||
$scope.useLocalstorage = false;
|
||||
|
|
@ -111,6 +111,7 @@ angular.module('copayApp.controllers').controller('CreateProfileController', fun
|
|||
var msg = err.toString();
|
||||
if (msg.indexOf('EEXIST') >= 0 || msg.indexOf('BADC') >= 0) {
|
||||
msg = 'This profile already exists'
|
||||
$scope.createStep = 'email';
|
||||
}
|
||||
$scope.error = msg;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue