static_src/stores/service_plan_store.js
Function handleAction
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
handleAction(action) {
switch (action.type) {
case serviceActionTypes.SERVICE_PLAN_FETCH: {
const servicePlan = this.get(action.servicePlanGuid) || {};
const servicePlanFetching = Object.assign({}, servicePlan, {