fix: don't show steps in create app when pro mode (#5730)

Co-authored-by: Elio Bischof <elio@zitadel.com>
Co-authored-by: Fabi <fabienne.gerschwiler@gmail.com>
Co-authored-by: Elio Bischof <eliobischof@gmail.com>
This commit is contained in:
Miguel Cabrerizo 2023-05-24 16:13:01 +02:00 committed by GitHub
parent 6e4909557d
commit 767b3d7e65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,14 +2,16 @@
title="{{ 'APP.PAGES.CREATE' | translate }}" title="{{ 'APP.PAGES.CREATE' | translate }}"
class="app-create-wrapper" class="app-create-wrapper"
[createSteps]=" [createSteps]="
appType?.value?.createType === AppCreateType.OIDC !devmode
? appType?.value.oidcAppType !== OIDCAppType.OIDC_APP_TYPE_NATIVE ? appType?.value?.createType === AppCreateType.OIDC
? 4 ? appType?.value.oidcAppType !== OIDCAppType.OIDC_APP_TYPE_NATIVE
: 3 ? 4
: appType?.value?.createType === AppCreateType.API : 3
? 3 : appType?.value?.createType === AppCreateType.API
: appType?.value?.createType === AppCreateType.SAML ? 3
? 3 : appType?.value?.createType === AppCreateType.SAML
? 3
: 0
: 0 : 0
" "
[currentCreateStep]="currentCreateStep" [currentCreateStep]="currentCreateStep"