webpack/scenes/ModuleStreams/Details/ModuleStreamDetailsReducer.js in katello-4.4.0.rc1 vs webpack/scenes/ModuleStreams/Details/ModuleStreamDetailsReducer.js in katello-4.4.0.rc2

- old
+ new

@@ -5,29 +5,29 @@ MODULE_STREAM_DETAILS_FAILURE, } from './ModuleStreamDetailsConstants'; export default (state = initialApiState, action) => { switch (action.type) { - case MODULE_STREAM_DETAILS_REQUEST: { - return state.set('loading', true); - } + case MODULE_STREAM_DETAILS_REQUEST: { + return state.set('loading', true); + } - case MODULE_STREAM_DETAILS_SUCCESS: { - const moduleStreamDetails = action.response; + case MODULE_STREAM_DETAILS_SUCCESS: { + const moduleStreamDetails = action.response; - return state.merge({ - ...moduleStreamDetails, - loading: false, - }); - } + return state.merge({ + ...moduleStreamDetails, + loading: false, + }); + } - case MODULE_STREAM_DETAILS_FAILURE: { - return state.merge({ - error: action.payload.message, - loading: false, - }); - } + case MODULE_STREAM_DETAILS_FAILURE: { + return state.merge({ + error: action.payload.message, + loading: false, + }); + } - default: - return state; + default: + return state; } };