webpack/scenes/Subscriptions/Details/SubscriptionDetailReducer.js in katello-3.8.1 vs webpack/scenes/Subscriptions/Details/SubscriptionDetailReducer.js in katello-3.9.0.rc1
- old
+ new
@@ -10,11 +10,11 @@
PRODUCTS_FAILURE,
} from '../../Products/ProductConstants';
const initialState = Immutable({
loading: false,
- enabledProducts: {
+ productContent: {
results: [],
total: 0,
},
});
@@ -36,13 +36,13 @@
loading: false,
});
}
case PRODUCTS_SUCCESS: {
- const enabledProducts = { enabledProducts: action.response };
+ const productContent = { productContent: action.response };
return state.merge({
- ...enabledProducts,
+ ...productContent,
loading: false,
});
}
case SUBSCRIPTION_DETAILS_FAILURE: {