show loading/spinner when getting last transactions

This commit is contained in:
Gustavo Maximiliano Cortez 2014-08-25 10:44:20 -03:00
commit 8da0280da6
2 changed files with 5 additions and 3 deletions

View file

@ -15,7 +15,7 @@ angular.module('copayApp.controllers').controller('TransactionsController',
var satToUnit = 1 / config.unitToSatoshi;
$scope.update = function() {
$scope.loading = false;
$scope.loading = true;
var from = ($scope.txpCurrentPage - 1) * $scope.txpItemsPerPage;
var opts = {
pending: false,