diff --git a/js/about/aboutActions.js b/js/about/aboutActions.js index 32a011344c8..71eb1886276 100644 --- a/js/about/aboutActions.js +++ b/js/about/aboutActions.js @@ -123,8 +123,8 @@ const AboutActions = { ipc.send(messages.SET_RESOURCE_ENABLED, resourceName, enabled) }, - clearBrowsingDataNow: function () { - ipc.sendToHost(messages.CLEAR_BROWSING_DATA_NOW) + clearBrowsingDataNow: function (clearBrowsingDataDetail) { + ipc.sendToHost(messages.CLEAR_BROWSING_DATA_NOW, clearBrowsingDataDetail) }, createWallet: function () { diff --git a/js/about/history.js b/js/about/history.js index 16acafc4636..964928dae68 100644 --- a/js/about/history.js +++ b/js/about/history.js @@ -25,8 +25,8 @@ require('../../node_modules/font-awesome/css/font-awesome.css') class HistoryDay extends ImmutableComponent { navigate (entry) { aboutActions.newFrame({ - location: entry.get('location'), - partitionNumber: entry.get('partitionNumber') + location: entry.location, + partitionNumber: entry.partitionNumber }) } render () { @@ -125,7 +125,7 @@ class AboutHistory extends React.Component { }) } historyDescendingOrder () { - return this.state.history.filter((site) => site.get('tags').isEmpty()) + return this.state.history.filter((site) => site.get('lastAccessedTime')) .sort((left, right) => { if (left.get('lastAccessedTime') < right.get('lastAccessedTime')) return 1 if (left.get('lastAccessedTime') > right.get('lastAccessedTime')) return -1 @@ -133,7 +133,7 @@ class AboutHistory extends React.Component { }).slice(-500) } clearBrowsingDataNow () { - aboutActions.clearBrowsingDataNow() + aboutActions.clearBrowsingDataNow({browserHistory: true}) } render () { return