Merge branch 'search-statuses' into 'develop'
Fix search results See merge request soapbox-pub/soapbox-fe!847
This commit is contained in:
commit
9140e1daf0
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue