Wizard: Do not show warning icon if warning === ''
Fixes #2743 This hides the warning under FSC min size if the body of warning is empty.
This commit is contained in:
parent
576262c513
commit
5696d1805f
1 changed files with 1 additions and 1 deletions
|
|
@ -79,7 +79,7 @@ export const HookValidatedInput = ({
|
|||
</HelperTextItem>
|
||||
</HelperText>
|
||||
)}
|
||||
{warning !== undefined && (
|
||||
{warning !== undefined && warning !== '' && (
|
||||
<HelperText>
|
||||
<HelperTextItem variant="warning" hasIcon>
|
||||
{warning}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue