Wizard: Fix "None" options in Selects for policies and Oscap profiles
This commit is contained in:
parent
50d88e5949
commit
0cfe3dde30
2 changed files with 2 additions and 2 deletions
|
|
@ -287,7 +287,7 @@ const PolicySelector = () => {
|
|||
} as React.CSSProperties
|
||||
}
|
||||
>
|
||||
{policyTitle || 'Select a policy'}
|
||||
{policyID === undefined ? 'None' : policyTitle || 'Select a policy'}
|
||||
</MenuToggle>
|
||||
);
|
||||
|
||||
|
|
|
|||
|
|
@ -329,7 +329,7 @@ const ProfileSelector = () => {
|
|||
>
|
||||
<TextInputGroup isPlain>
|
||||
<TextInputGroupMain
|
||||
value={profileID ? profileID : inputValue}
|
||||
value={profileID ? profileID : inputValue || 'None'}
|
||||
onClick={onInputClick}
|
||||
onChange={onTextInputChange}
|
||||
autoComplete="off"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue