Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Fixes automated test failures on urlBarSuggestions
Browse files Browse the repository at this point in the history
Resolves #7837

Auditors: @diracdeltas @cezaraugusto

Test Plan:
- npm run test -- --grep="urlBarSuggestions"
  • Loading branch information
NejcZdovc committed Mar 22, 2017
1 parent d626336 commit 23d813c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/renderer/reducers/urlBarSuggestionsReducer.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ const generateNewSuggestionsList = (state) => {
if (sites) {
// Filter out Brave default newtab sites and sites with falsey location
sites = sites.filterNot((site) =>
Immutable.is(site.get('tags'), (new Immutable.List(['default'])) &&
(Immutable.is(site.get('tags'), new Immutable.List(['default'])) &&
site.get('lastAccessedTime') === 1) ||
!site.get('location')
)
Expand Down

0 comments on commit 23d813c

Please sign in to comment.