fix loading spinner for create and join
This commit is contained in:
parent
05d1ba98ae
commit
b018028b17
3 changed files with 7 additions and 8 deletions
|
|
@ -127,13 +127,13 @@ angular.module('copayApp.controllers').controller('JoinController',
|
|||
return;
|
||||
}
|
||||
|
||||
$scope.loading = true;
|
||||
$rootScope.starting = true;
|
||||
identityService.joinWallet({
|
||||
secret: $scope.connectionId,
|
||||
nickname: $scope.nickname,
|
||||
privateHex: $scope.private,
|
||||
}, function(err) {
|
||||
$scope.loading = false;
|
||||
$rootScope.starting = false;
|
||||
if (err) {
|
||||
if (err === 'joinError')
|
||||
notification.error('Fatal error connecting to Insight server');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue