Blueprints: invalid message variant on upload

Fixed #2919

Error message has error variant when uploading invalid blueprint.
This commit is contained in:
Katarina Sieklova 2025-02-24 18:08:56 +01:00 committed by Klara Simickova
parent d891ba824e
commit 17709cf093

View file

@ -273,7 +273,7 @@ export const ImportBlueprintModal: React.FunctionComponent<
<HelperText>
<HelperTextItem
variant={
isRejected ? 'error' : isOnPrem ? 'warning' : 'default'
isRejected ? 'error' : isInvalidFormat ? 'error' : isOnPrem ? 'warning' : 'default'
}
>
{isRejected