mirror of
https://github.com/zitadel/zitadel.git
synced 2025-01-08 19:47:45 +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"
|
[canWrite]="['user.write:' + user.id, 'user.write$'] | hasRole | async"
|
||||||
*ngIf="user?.human"
|
*ngIf="user?.human"
|
||||||
[human]="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()"
|
(deletedPhone)="deletePhone()"
|
||||||
(resendEmailVerification)="resendEmailVerification()"
|
(resendEmailVerification)="resendEmailVerification()"
|
||||||
(resendPhoneVerification)="resendPhoneVerification()"
|
(resendPhoneVerification)="resendPhoneVerification()"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user