diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-11-13 13:04:18 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-11-13 13:04:18 +0100 |
commit | f0bdfadab7e5293b3f7855b6707a1fa95ea76ca6 (patch) | |
tree | 21ea4e75a0e8398eed1f738c40eecab9c1ea65c9 /app/assets/javascripts/components/reducers/accounts.jsx | |
parent | 8152584cf57c2b5a797d73f5afac0bba3c904f6d (diff) |
Search component
Diffstat (limited to 'app/assets/javascripts/components/reducers/accounts.jsx')
-rw-r--r-- | app/assets/javascripts/components/reducers/accounts.jsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/assets/javascripts/components/reducers/accounts.jsx b/app/assets/javascripts/components/reducers/accounts.jsx index 471e1b0aa..b20b3d0c5 100644 --- a/app/assets/javascripts/components/reducers/accounts.jsx +++ b/app/assets/javascripts/components/reducers/accounts.jsx @@ -26,6 +26,7 @@ import { STATUS_FETCH_SUCCESS, CONTEXT_FETCH_SUCCESS } from '../actions/statuses'; +import { SEARCH_SUGGESTIONS_READY } from '../actions/search'; import Immutable from 'immutable'; const normalizeAccount = (state, account) => state.set(account.id, Immutable.fromJS(account)); @@ -70,6 +71,7 @@ export default function accounts(state = initialState, action) { case REBLOGS_FETCH_SUCCESS: case FAVOURITES_FETCH_SUCCESS: case COMPOSE_SUGGESTIONS_READY: + case SEARCH_SUGGESTIONS_READY: return normalizeAccounts(state, action.accounts); case TIMELINE_REFRESH_SUCCESS: case TIMELINE_EXPAND_SUCCESS: |