From 767b3d7e65d305227c3635890c059bdc63f8e9cb Mon Sep 17 00:00:00 2001 From: Miguel Cabrerizo <30386061+doncicuto@users.noreply.github.com> Date: Wed, 24 May 2023 16:13:01 +0200 Subject: [PATCH] fix: don't show steps in create app when pro mode (#5730) Co-authored-by: Elio Bischof Co-authored-by: Fabi Co-authored-by: Elio Bischof --- .../apps/app-create/app-create.component.html | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/console/src/app/pages/projects/apps/app-create/app-create.component.html b/console/src/app/pages/projects/apps/app-create/app-create.component.html index ab75a2c8f6..a487adcc1e 100644 --- a/console/src/app/pages/projects/apps/app-create/app-create.component.html +++ b/console/src/app/pages/projects/apps/app-create/app-create.component.html @@ -2,14 +2,16 @@ title="{{ 'APP.PAGES.CREATE' | translate }}" class="app-create-wrapper" [createSteps]=" - appType?.value?.createType === AppCreateType.OIDC - ? appType?.value.oidcAppType !== OIDCAppType.OIDC_APP_TYPE_NATIVE - ? 4 - : 3 - : appType?.value?.createType === AppCreateType.API - ? 3 - : appType?.value?.createType === AppCreateType.SAML - ? 3 + !devmode + ? appType?.value?.createType === AppCreateType.OIDC + ? appType?.value.oidcAppType !== OIDCAppType.OIDC_APP_TYPE_NATIVE + ? 4 + : 3 + : appType?.value?.createType === AppCreateType.API + ? 3 + : appType?.value?.createType === AppCreateType.SAML + ? 3 + : 0 : 0 " [currentCreateStep]="currentCreateStep"