Fix loading
This commit is contained in:
parent
5666a66e1d
commit
b5f3648aee
3 changed files with 9 additions and 5 deletions
|
|
@ -12,7 +12,9 @@ angular.module('copayApp.controllers').controller('coinbaseController', function
|
|||
$scope.accessToken = at;
|
||||
|
||||
// Update Access Token if necessary
|
||||
$scope.loading = true;
|
||||
coinbaseService.init(function(err, data) {
|
||||
$scope.loading = false;
|
||||
if (err || lodash.isEmpty(data)) {
|
||||
if (err) {
|
||||
popupService.showAlert(gettextCatalog.getString('Error'), err);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue