diff --git a/src/js/controllers/walletDetails.js b/src/js/controllers/walletDetails.js index 05376c1d6..0111c3e87 100644 --- a/src/js/controllers/walletDetails.js +++ b/src/js/controllers/walletDetails.js @@ -100,8 +100,8 @@ angular.module('copayApp.controllers').controller('walletDetailsController', fun if ($scope.isSearching) { $scope.txHistorySearchResults = filteredTxHistory ? filteredTxHistory.slice(0, (currentTxHistoryPage + 1) * HISTORY_SHOW_LIMIT) : []; $scope.txHistoryShowMore = filteredTxHistory.length > $scope.txHistorySearchResults.length; - } else { - $scope.txHistory = completeTxHistory ? completeTxHistory.slice(0, (currentTxHistoryPage + 1) * HISTORY_SHOW_LIMIT) : []; + } else if (completeTxHistory) { + $scope.txHistory = completeTxHistory.slice(0, (currentTxHistoryPage + 1) * HISTORY_SHOW_LIMIT); $scope.txHistoryShowMore = completeTxHistory.length > $scope.txHistory.length; } };