Wizard: add Satellite registration to review step
This commit is contained in:
parent
f34531667a
commit
58ec84c61e
2 changed files with 20 additions and 0 deletions
|
|
@ -37,6 +37,7 @@ import {
|
|||
KernelList,
|
||||
FirewallList,
|
||||
ServicesList,
|
||||
RegisterSatelliteList,
|
||||
} from './ReviewStepTextLists';
|
||||
|
||||
import isRhel from '../../../../../src/Utilities/isRhel';
|
||||
|
|
@ -309,6 +310,9 @@ const Review = () => {
|
|||
data-testid="registration-expandable"
|
||||
>
|
||||
{registrationType === 'register-later' && <RegisterLaterList />}
|
||||
{registrationType === 'register-satellite' && (
|
||||
<RegisterSatelliteList />
|
||||
)}
|
||||
{registrationType.startsWith('register-now') && <RegisterNowList />}
|
||||
</ExpandableSection>
|
||||
)}
|
||||
|
|
|
|||
|
|
@ -641,6 +641,22 @@ export const RegisterLaterList = () => {
|
|||
);
|
||||
};
|
||||
|
||||
export const RegisterSatelliteList = () => {
|
||||
return (
|
||||
<TextContent>
|
||||
<TextList component={TextListVariants.dl}>
|
||||
<TextListItem
|
||||
component={TextListItemVariants.dt}
|
||||
className="pf-v5-u-min-width"
|
||||
>
|
||||
Register Satellite
|
||||
</TextListItem>
|
||||
<TextListItem component={TextListItemVariants.dd}>Enabled</TextListItem>
|
||||
</TextList>
|
||||
</TextContent>
|
||||
);
|
||||
};
|
||||
|
||||
export const RegisterNowList = () => {
|
||||
const activationKey = useAppSelector(selectActivationKey);
|
||||
const registrationType = useAppSelector(selectRegistrationType);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue