mirror of
https://github.com/zitadel/zitadel.git
synced 2025-01-06 15:18:53 +00:00
fix(console): check for initial state in contact component (#5142)
fix: check for initial state Co-authored-by: Livio Spring <livio.a@gmail.com>
This commit is contained in:
parent
fa1e6c0bb2
commit
99bb8ab771
@ -113,7 +113,11 @@
|
||||
[canWrite]="['user.write:' + user.id, 'user.write$'] | hasRole | async"
|
||||
*ngIf="user?.human"
|
||||
[human]="user.human"
|
||||
(editType)="user.state !== UserState.USER_STATE_INITIAL ? openEditDialog($event) : resendInitEmail()"
|
||||
(editType)="
|
||||
user.state === UserState.USER_STATE_INITIAL && $event === EditDialogType.EMAIL
|
||||
? resendInitEmail()
|
||||
: openEditDialog($event)
|
||||
"
|
||||
(deletedPhone)="deletePhone()"
|
||||
(resendEmailVerification)="resendEmailVerification()"
|
||||
(resendPhoneVerification)="resendPhoneVerification()"
|
||||
|
Loading…
x
Reference in New Issue
Block a user