store/backendApi: export the relevant store api
Since the implementation of the cockpitApi and imageBuilderApi are different, we should make sure to export the correct one depending on the environment we are in.
This commit is contained in:
parent
79532e4ac5
commit
3e6985988a
5 changed files with 29 additions and 15 deletions
|
|
@ -10,6 +10,7 @@ import {
|
|||
Title,
|
||||
} from '@patternfly/react-core';
|
||||
|
||||
import { useGetBlueprintsQuery } from '../../store/backendApi';
|
||||
import {
|
||||
selectSelectedBlueprintId,
|
||||
selectBlueprintSearchInput,
|
||||
|
|
@ -18,7 +19,6 @@ import {
|
|||
import { useAppSelector } from '../../store/hooks';
|
||||
import {
|
||||
BlueprintItem,
|
||||
useGetBlueprintsQuery,
|
||||
useGetBlueprintComposesQuery,
|
||||
Distributions,
|
||||
GetBlueprintComposesApiArg,
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@ import {
|
|||
MODAL_ANCHOR,
|
||||
SEARCH_INPUT,
|
||||
} from '../../constants';
|
||||
import { useGetBlueprintsQuery } from '../../store/backendApi';
|
||||
import {
|
||||
selectSelectedBlueprintId,
|
||||
selectBlueprintSearchInput,
|
||||
|
|
@ -33,7 +34,6 @@ import {
|
|||
import { useAppSelector } from '../../store/hooks';
|
||||
import {
|
||||
BlueprintItem,
|
||||
useGetBlueprintsQuery,
|
||||
ComposesResponseItem,
|
||||
ComposeStatus,
|
||||
ImageTypes,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue