Skip to content
Snippets Groups Projects
Commit 07f7192b authored by Eugen Rochko's avatar Eugen Rochko Committed by Yamagishi Kazutoshi
Browse files

Fix #5632 - Reset column loading status after fetch fail (#5659)

parent fcb95335
No related branches found
No related tags found
No related merge requests found
......@@ -99,9 +99,10 @@ export default function notifications(state = initialState, action) {
switch(action.type) {
case NOTIFICATIONS_REFRESH_REQUEST:
case NOTIFICATIONS_EXPAND_REQUEST:
return state.set('isLoading', true);
case NOTIFICATIONS_REFRESH_FAIL:
case NOTIFICATIONS_EXPAND_FAIL:
return state.set('isLoading', true);
return state.set('isLoading', false);
case NOTIFICATIONS_SCROLL_TOP:
return updateTop(state, action.top);
case NOTIFICATIONS_UPDATE:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment