Skip to content

Commit

Permalink
fix(TxList): welcome/no results logic
Browse files Browse the repository at this point in the history
  • Loading branch information
plondon committed May 15, 2018
1 parent 62b00ef commit 79f7c4f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ export const getData = createSelector(

return {
pages: filteredPages,
search: search.length > 0,
empty: all(empty)(filteredPages)
empty: all(empty)(filteredPages),
search: search.length > 0 || status !== ''
}
}
)
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ export const getData = createSelector(

return {
pages: filteredPages,
search: search.length > 0,
empty: all(empty)(filteredPages)
empty: all(empty)(filteredPages),
search: search.length > 0 || status !== ''
}
}
)
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ export const getData = createSelector(

return {
pages: filteredPages,
search: search.length > 0,
empty: all(empty)(filteredPages)
empty: all(empty)(filteredPages),
search: search.length > 0 || status !== ''
}
}
)

0 comments on commit 79f7c4f

Please sign in to comment.