Show HomeWallet immediately the when profile was started

This commit is contained in:
Gustavo Maximiliano Cortez 2014-11-13 18:54:30 -03:00
commit 183d6ec15c
9 changed files with 9 additions and 10 deletions

View file

@ -54,13 +54,13 @@ angular.module('copayApp.controllers').controller('ImportProfileController',
};
$scope.import = function(form) {
$scope.loading = true;
if (form.$invalid) {
$scope.loading = false;
$scope.error = 'Please enter the required fields';
return;
}
$rootScope.starting = true;
var backupFile = $scope.file;
var backupText = form.backupText.$modelValue;