about summary refs log tree commit diff
path: root/app/assets/javascripts/components/reducers
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-11-04 14:15:25 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-11-04 14:15:25 +0100
commit2463c720064f5e010db83b53e13d174a449b2106 (patch)
tree2f4c9be9614b7f3db6e52b909b0ce583122959fc /app/assets/javascripts/components/reducers
parent087b9938924b0f1f2e3fd81a3eb6e9cde0c3a074 (diff)
Add forgotten reducer for FAVOURITES_FETCH_SUCCESS
Diffstat (limited to 'app/assets/javascripts/components/reducers')
-rw-r--r--app/assets/javascripts/components/reducers/accounts.jsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/assets/javascripts/components/reducers/accounts.jsx b/app/assets/javascripts/components/reducers/accounts.jsx
index ba66f182a..c6705d13c 100644
--- a/app/assets/javascripts/components/reducers/accounts.jsx
+++ b/app/assets/javascripts/components/reducers/accounts.jsx
@@ -13,7 +13,8 @@ import {
   UNREBLOG_SUCCESS,
   FAVOURITE_SUCCESS,
   UNFAVOURITE_SUCCESS,
-  REBLOGS_FETCH_SUCCESS
+  REBLOGS_FETCH_SUCCESS,
+  FAVOURITES_FETCH_SUCCESS
 } from '../actions/interactions';
 import {
   TIMELINE_REFRESH_SUCCESS,
@@ -66,6 +67,7 @@ export default function accounts(state = initialState, action) {
     case FOLLOWERS_FETCH_SUCCESS:
     case FOLLOWING_FETCH_SUCCESS:
     case REBLOGS_FETCH_SUCCESS:
+    case FAVOURITES_FETCH_SUCCESS:
       return normalizeAccounts(state, action.accounts);
     case TIMELINE_REFRESH_SUCCESS:
     case TIMELINE_EXPAND_SUCCESS: