Wizard: Add beta flag for AWS sources
This commit makes the new AWS sources feature only available in beta. Note that the RTKQ hooks related to AWS sources are called in several places outside of the AWS Target step (a prefetch on the Image Output step and useQuery hook on the review step) but have not been hidden behind beta flags - this should not present any problems and will make exposing this feature in stable much easier when the time comes.
This commit is contained in:
parent
a474163343
commit
53ce67ab47
4 changed files with 221 additions and 126 deletions
|
|
@ -7,7 +7,8 @@ import { useLocation, useNavigate } from 'react-router-dom';
|
|||
|
||||
import ImageCreator from './ImageCreator';
|
||||
import {
|
||||
awsTarget,
|
||||
awsTargetStable,
|
||||
awsTargetBeta,
|
||||
fileSystemConfiguration,
|
||||
googleCloudTarger,
|
||||
imageName,
|
||||
|
|
@ -475,6 +476,8 @@ const formStepHistory = (composeRequest) => {
|
|||
};
|
||||
|
||||
const CreateImageWizard = () => {
|
||||
const awsTarget = insights.chrome.isBeta() ? awsTargetBeta : awsTargetStable;
|
||||
|
||||
const dispatch = useDispatch();
|
||||
const navigate = useNavigate();
|
||||
const location = useLocation();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue