Prepare for Provisioning list endpoint nesting
This commit is contained in:
parent
fffdb27b70
commit
847ba2371d
5 changed files with 21 additions and 6 deletions
|
|
@ -13,6 +13,7 @@ import {
|
|||
} from '@patternfly/react-core';
|
||||
import PropTypes from 'prop-types';
|
||||
|
||||
import { extractProvisioningList } from '../../../store/helpers';
|
||||
import {
|
||||
useGetSourceListQuery,
|
||||
useGetSourceUploadInfoQuery,
|
||||
|
|
@ -32,12 +33,13 @@ export const AWSSourcesSelect = ({
|
|||
);
|
||||
|
||||
const {
|
||||
data: sources,
|
||||
data: rawSources,
|
||||
isFetching,
|
||||
isSuccess,
|
||||
isError,
|
||||
refetch,
|
||||
} = useGetSourceListQuery({ provider: 'aws' });
|
||||
const sources = extractProvisioningList(rawSources);
|
||||
|
||||
const {
|
||||
data: sourceDetails,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue