buildImageButton: add support of building image with mulitple targets <HMS-4066>

this commit add support of building an image with mulitple targets,
when user build an image, he can choose which targets he wants to build.
This commit is contained in:
Michal Gold 2024-05-23 12:57:25 +03:00 committed by Klara Simickova
parent 67ec26bead
commit 39b29e303c
2 changed files with 174 additions and 10 deletions

View file

@ -22,7 +22,8 @@ import {
CREATING_IMAGES_WITH_IB_SERVICE_URL,
MANAGING_WITH_DNF_URL,
} from '../../constants';
import { BuildImagesButton } from '../Blueprints/BuildImagesButton';
import { BuildImagesButtonEmptyState } from '../Blueprints/BuildImagesButton';
type ImagesEmptyStateProps = {
selectedBlueprint?: string;
@ -44,9 +45,9 @@ const EmptyBlueprintsImagesTable = () => (
</EmptyStateBody>
<EmptyStateFooter>
<EmptyStateActions>
<BuildImagesButton variant="link">
<BuildImagesButtonEmptyState variant="link">
Build latest images
</BuildImagesButton>
</BuildImagesButtonEmptyState>
</EmptyStateActions>
</EmptyStateFooter>
</EmptyState>