Wizard: Add Hostname expandable to Review step
This adds a new expandable to the Review step.
This commit is contained in:
parent
73eaecc51e
commit
dc24ba24e4
3 changed files with 62 additions and 2 deletions
|
|
@ -67,6 +67,7 @@ import {
|
|||
selectNtpServers,
|
||||
selectLanguages,
|
||||
selectKeyboard,
|
||||
selectHostname,
|
||||
} from '../../../../store/wizardSlice';
|
||||
import { toMonthAndYear, yyyyMMddFormat } from '../../../../Utilities/time';
|
||||
import {
|
||||
|
|
@ -803,6 +804,26 @@ export const LocaleList = () => {
|
|||
);
|
||||
};
|
||||
|
||||
export const HostnameList = () => {
|
||||
const hostname = useAppSelector(selectHostname);
|
||||
|
||||
return (
|
||||
<TextContent>
|
||||
<TextList component={TextListVariants.dl}>
|
||||
<TextListItem
|
||||
component={TextListItemVariants.dt}
|
||||
className="pf-v5-u-min-width"
|
||||
>
|
||||
Hostname
|
||||
</TextListItem>
|
||||
<TextListItem component={TextListItemVariants.dd}>
|
||||
{hostname ? hostname : 'None'}
|
||||
</TextListItem>
|
||||
</TextList>
|
||||
</TextContent>
|
||||
);
|
||||
};
|
||||
|
||||
export const FirstBootList = () => {
|
||||
const isFirstbootEnabled = !!useAppSelector(selectFirstBootScript);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue