1
0
mirror of https://github.com/zitadel/zitadel.git synced 2025-06-02 06:38:20 +00:00

fix(console): Verify if the LDAP IDP has just been created ()

# Which Problems Are Solved

After the creation of an LDAP IDP on instance or org level, the button
changes to 'Save' and with each click a new IDP will be created.

# How the Problems Are Solved

Similar to what was done in , we check if the IDP was just created

# Additional Changes

None

# Additional Context

- Closes 
- Follow-up for PR 

Co-authored-by: Max Peintner <max@caos.ch>
Co-authored-by: Livio Spring <livio.a@gmail.com>
This commit is contained in:
Stygmates 2024-09-04 07:52:42 +02:00 committed by GitHub
parent 9a1140289a
commit d47ce93025
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -179,7 +179,7 @@ export class ProviderLDAPComponent {
} }
public submitForm(): void { public submitForm(): void {
this.provider ? this.updateLDAPProvider() : this.addLDAPProvider(); this.provider || this.justCreated$.value ? this.updateLDAPProvider() : this.addLDAPProvider();
} }
public addLDAPProvider(): void { public addLDAPProvider(): void {