Wizard: Add masked services input
This exposes masked services in the UI by adding a masked services input.
This commit is contained in:
parent
408ecb2a80
commit
56e85e0954
6 changed files with 105 additions and 20 deletions
|
|
@ -991,11 +991,24 @@ export const ServicesList = () => {
|
|||
Disabled
|
||||
</TextListItem>
|
||||
<TextListItem component={TextListItemVariants.dd}>
|
||||
{services.disabled.length > 0 || services.masked.length > 0 ? (
|
||||
{services.disabled.length > 0 ? (
|
||||
<CodeBlock>
|
||||
<CodeBlockCode>
|
||||
{services.disabled.concat(services.masked).join(' ')}
|
||||
</CodeBlockCode>
|
||||
<CodeBlockCode>{services.disabled.join(' ')}</CodeBlockCode>
|
||||
</CodeBlock>
|
||||
) : (
|
||||
'None'
|
||||
)}
|
||||
</TextListItem>
|
||||
<TextListItem
|
||||
component={TextListItemVariants.dt}
|
||||
className="pf-v5-u-min-width"
|
||||
>
|
||||
Masked
|
||||
</TextListItem>
|
||||
<TextListItem component={TextListItemVariants.dd}>
|
||||
{services.masked.length > 0 ? (
|
||||
<CodeBlock>
|
||||
<CodeBlockCode>{services.masked.join(' ')}</CodeBlockCode>
|
||||
</CodeBlock>
|
||||
) : (
|
||||
'None'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue