...
|
...
|
@@ -65,15 +65,15 @@ export default function homeReducer(state=initialState, action) { |
|
|
let {
|
|
|
isFetching,
|
|
|
page,
|
|
|
fliter,
|
|
|
filter,
|
|
|
endReached,
|
|
|
} = action.payload;
|
|
|
|
|
|
let list = state.groupInfo.list.toJS();
|
|
|
list[0].isFetching = isFetching;
|
|
|
list[0].fliter = fliter;
|
|
|
list[0].page = page;
|
|
|
list[0].endReached = endReached;
|
|
|
list[filter].isFetching = isFetching;
|
|
|
list[filter].fliter = filter;
|
|
|
list[filter].page = page;
|
|
|
list[filter].endReached = endReached;
|
|
|
|
|
|
return state.setIn(['groupInfo', 'list'], Immutable.fromJS(list));
|
|
|
}
|
...
|
...
|
|