Wizard: Fix unavailable key information error

When creating a new image and selecting an activation key on the Registration step the warning about unavailable key information is displayed even though the key information is loaded without any problems.

This shows the error on the Registration step only when fetching the activation key information ends in error.
This commit is contained in:
regexowl 2023-04-18 16:18:37 +02:00 committed by Klara Simickova
parent 38dda9da67
commit 8f87626dfb

View file

@ -156,7 +156,7 @@ const ActivationKeyInformation = () => {
</TextList>
</TextContent>
)}
{currentStep.name === 'registration' && (
{isErrorActivationKeyInfo && currentStep.name === 'registration' && (
<>
<br />
<Alert