diff --git a/lib/user-interface/react/src/shared/reducers/configuration.reducer.ts b/lib/user-interface/react/src/shared/reducers/configuration.reducer.ts index 14d17561..6c2cad4b 100644 --- a/lib/user-interface/react/src/shared/reducers/configuration.reducer.ts +++ b/lib/user-interface/react/src/shared/reducers/configuration.reducer.ts @@ -21,6 +21,9 @@ import { IConfiguration } from '../model/configuration.model'; export const configurationApi = createApi({ reducerPath: 'configuration', baseQuery: lisaBaseQuery(), + tagTypes: ['configuration'], + refetchOnFocus: true, + refetchOnReconnect: true, endpoints: (builder) => ({ getConfiguration: builder.query({ query: (configScope) => ({ diff --git a/lib/user-interface/react/src/shared/reducers/model-management.reducer.ts b/lib/user-interface/react/src/shared/reducers/model-management.reducer.ts index 994eb4c4..55de56c4 100644 --- a/lib/user-interface/react/src/shared/reducers/model-management.reducer.ts +++ b/lib/user-interface/react/src/shared/reducers/model-management.reducer.ts @@ -21,6 +21,9 @@ import { IModel, IModelListResponse, IModelRequest, IModelUpdateRequest } from ' export const modelManagementApi = createApi({ reducerPath: 'models', baseQuery: lisaBaseQuery(), + tagTypes: ['models'], + refetchOnFocus: true, + refetchOnReconnect: true, endpoints: (builder) => ({ getAllModels: builder.query({ query: () => ({