diff --git a/public/views/walletHome.html b/public/views/walletHome.html index 1ae3f96db..f781c6fab 100644 --- a/public/views/walletHome.html +++ b/public/views/walletHome.html @@ -523,4 +523,4 @@
-
+
diff --git a/src/js/controllers/index.js b/src/js/controllers/index.js index b30bcdcce..0718a29bf 100644 --- a/src/js/controllers/index.js +++ b/src/js/controllers/index.js @@ -1082,9 +1082,9 @@ angular.module('copayApp.controllers').controller('indexController', function($r self.setCompactTxHistory = function() { self.isSearching = false; self.nextTxHistory = self.historyShowMoreLimit; - self.txHistory = self.completeHistory.slice(0, self.historyShowLimit); + self.txHistory = self.completeHistory ? self.completeHistory.slice(0, self.historyShowLimit) : null; self.txHistorySearchResults = self.txHistory; - self.historyShowMore = self.completeHistory.length > self.historyShowLimit; + self.historyShowMore = self.completeHistory ? self.completeHistory.length > self.historyShowLimit : null; }; self.debounceUpdateHistory = lodash.debounce(function() {