wizard: add oscap to the review step
The review step now list the OpenSCAP policy chosen by the user.
This commit is contained in:
parent
3e11639960
commit
18cc74cf6b
2 changed files with 36 additions and 0 deletions
|
|
@ -589,3 +589,24 @@ export const ImageDetailsList = () => {
|
|||
</TextContent>
|
||||
);
|
||||
};
|
||||
|
||||
export const OscapList = () => {
|
||||
const { getState } = useFormApi();
|
||||
const oscapPolicy = getState()?.values?.['oscap-policy'];
|
||||
return (
|
||||
<TextContent>
|
||||
<TextList component={TextListVariants.dl}>
|
||||
<TextListItem
|
||||
component={TextListItemVariants.dt}
|
||||
className="pf-u-min-width"
|
||||
>
|
||||
Policy
|
||||
</TextListItem>
|
||||
<TextListItem component={TextListItemVariants.dd}>
|
||||
{oscapPolicy}
|
||||
</TextListItem>
|
||||
</TextList>
|
||||
<br />
|
||||
</TextContent>
|
||||
);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue