Merge branch 'search-statuses' into 'develop'

Fix search results

See merge request soapbox-pub/soapbox-fe!847
This commit is contained in:
Alex Gleason 2021-11-03 13:27:43 +00:00
commit 9140e1daf0
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ const importResults = (state, results) => {
return state.withMutations(state => { return state.withMutations(state => {
state.set('results', ImmutableMap({ state.set('results', ImmutableMap({
accounts: toIds(results.accounts), accounts: toIds(results.accounts),
statuses: toIds(results.accounts), statuses: toIds(results.statuses),
hashtags: fromJS(results.hashtags), // it's a list of maps hashtags: fromJS(results.hashtags), // it's a list of maps
accountsHasMore: results.accounts.length >= 20, accountsHasMore: results.accounts.length >= 20,
statusesHasMore: results.statuses.length >= 20, statusesHasMore: results.statuses.length >= 20,