Skip to content

Commit

Permalink
Bug 1844616 - Check for allHistoryItems map size in order to display …
Browse files Browse the repository at this point in the history
…'Show all history' link in about:firefoxview-next#history r=jsudiaman

Differential Revision: https://phabricator.services.mozilla.com/D184126
  • Loading branch information
kcochrane-mozilla committed Jul 21, 2023
1 parent 7fa46b8 commit ab56102
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion browser/components/firefoxview/history.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ class HistoryInView extends ViewPage {
</div>
<div
class="show-all-history-footer"
?hidden=${!this.allHistoryItems.length}
?hidden=${!this.allHistoryItems.size}
>
<span
class="show-all-history-link"
Expand Down

0 comments on commit ab56102

Please sign in to comment.