From 29b7e02de2eb88d815066519524cc961a97c2f56 Mon Sep 17 00:00:00 2001 From: Gianluca Zuccarelli Date: Tue, 21 Jan 2025 10:49:56 +0000 Subject: [PATCH] CreateImageWizard: hide activation keys for on-prem Subject says it all --- .../steps/Registration/index.tsx | 20 ++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/src/Components/CreateImageWizard/steps/Registration/index.tsx b/src/Components/CreateImageWizard/steps/Registration/index.tsx index 5a190015..0acaa558 100644 --- a/src/Components/CreateImageWizard/steps/Registration/index.tsx +++ b/src/Components/CreateImageWizard/steps/Registration/index.tsx @@ -26,15 +26,17 @@ const RegistrationStep = () => { system during initial boot. - - {activationKey && registrationType !== 'register-later' && ( - - - - )} + {!process.env.IS_ON_PREMISE && } + {!process.env.IS_ON_PREMISE && + activationKey && + registrationType !== 'register-later' && ( + + + + )} ); };