From 592ea952e262da4bd4238aaef14e17e357ac04f0 Mon Sep 17 00:00:00 2001 From: Gianluca Zuccarelli Date: Fri, 10 Jan 2025 12:51:53 +0000 Subject: [PATCH] store: add missing apis to onPrem Currently, the wizard still needs some of the other stores. If we omit them, the wizard fails to launch --- src/store/index.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/store/index.ts b/src/store/index.ts index 9a8c0678..46557ae6 100644 --- a/src/store/index.ts +++ b/src/store/index.ts @@ -33,6 +33,10 @@ export const serviceReducer = combineReducers({ }); export const onPremReducer = combineReducers({ + [contentSourcesApi.reducerPath]: contentSourcesApi.reducer, + [rhsmApi.reducerPath]: rhsmApi.reducer, + [provisioningApi.reducerPath]: provisioningApi.reducer, + [complianceApi.reducerPath]: complianceApi.reducer, [cockpitApi.reducerPath]: cockpitApi.reducer, // TODO: add other endpoints so we can remove this. // It's still needed to get things to work. @@ -125,6 +129,10 @@ export const onPremMiddleware = (getDefaultMiddleware: Function) => promiseMiddleware, // TODO: add other endpoints so we can remove this. // It's still needed to get things to work. + contentSourcesApi.middleware, + rhsmApi.middleware, + provisioningApi.middleware, + complianceApi.middleware, imageBuilderApi.middleware, cockpitApi.middleware );