commit
37694f424a
1 changed files with 2 additions and 2 deletions
|
|
@ -100,8 +100,8 @@ angular.module('copayApp.controllers').controller('walletDetailsController', fun
|
||||||
if ($scope.isSearching) {
|
if ($scope.isSearching) {
|
||||||
$scope.txHistorySearchResults = filteredTxHistory ? filteredTxHistory.slice(0, (currentTxHistoryPage + 1) * HISTORY_SHOW_LIMIT) : [];
|
$scope.txHistorySearchResults = filteredTxHistory ? filteredTxHistory.slice(0, (currentTxHistoryPage + 1) * HISTORY_SHOW_LIMIT) : [];
|
||||||
$scope.txHistoryShowMore = filteredTxHistory.length > $scope.txHistorySearchResults.length;
|
$scope.txHistoryShowMore = filteredTxHistory.length > $scope.txHistorySearchResults.length;
|
||||||
} else {
|
} else if (completeTxHistory) {
|
||||||
$scope.txHistory = completeTxHistory ? completeTxHistory.slice(0, (currentTxHistoryPage + 1) * HISTORY_SHOW_LIMIT) : [];
|
$scope.txHistory = completeTxHistory.slice(0, (currentTxHistoryPage + 1) * HISTORY_SHOW_LIMIT);
|
||||||
$scope.txHistoryShowMore = completeTxHistory.length > $scope.txHistory.length;
|
$scope.txHistoryShowMore = completeTxHistory.length > $scope.txHistory.length;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue