Skip to content

Commit

Permalink
fix: don't show steps in create app when pro mode (#5730)
Browse files Browse the repository at this point in the history
Co-authored-by: Elio Bischof <elio@zitadel.com>
Co-authored-by: Fabi <fabienne.gerschwiler@gmail.com>
Co-authored-by: Elio Bischof <eliobischof@gmail.com>
  • Loading branch information
4 people committed May 24, 2023
1 parent 6e49095 commit 767b3d7
Showing 1 changed file with 10 additions and 8 deletions.
Expand Up @@ -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"
Expand Down

1 comment on commit 767b3d7

@vercel
Copy link

@vercel vercel bot commented on 767b3d7 May 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

docs – ./

docs-git-main-zitadel.vercel.app
docs-zitadel.vercel.app
zitadel-docs.vercel.app

Please sign in to comment.