webpack/scenes/ContentViews/Details/ContentViewDetailReducer.js in katello-4.4.0.rc1 vs webpack/scenes/ContentViews/Details/ContentViewDetailReducer.js in katello-4.4.0.rc2
- old
+ new
@@ -9,15 +9,15 @@
updating: false,
});
export default (state = initialState, action) => {
switch (action.type) {
- case UPDATE_CONTENT_VIEW:
- return state.set('updating', true);
- case UPDATE_CONTENT_VIEW_SUCCESS:
- return state.merge({ updating: false });
- case UPDATE_CONTENT_VIEW_FAILURE:
- return state.set('updating', false);
- default:
- return state;
+ case UPDATE_CONTENT_VIEW:
+ return state.set('updating', true);
+ case UPDATE_CONTENT_VIEW_SUCCESS:
+ return state.merge({ updating: false });
+ case UPDATE_CONTENT_VIEW_FAILURE:
+ return state.set('updating', false);
+ default:
+ return state;
}
};