fabric8-planner
Version:
A planner front-end for Fabric8.
17 lines • 528 B
JavaScript
import * as InfotipActions from './../actions/infotip.actions';
import { initialState } from './../states/infotip.state';
export var InfotipReducer = function (state, action) {
if (state === void 0) { state = initialState; }
switch (action.type) {
case InfotipActions.GET_SUCCESS: {
return action.payload;
}
case InfotipActions.GET_ERROR: {
return state;
}
default: {
return state;
}
}
};
//# sourceMappingURL=infotip.reducer.js.map