mirror of
https://github.com/zitadel/zitadel.git
synced 2025-01-05 22:52:46 +00:00
fix(console): edit email for initial users (#4776)
fix: edit email for initial users Co-authored-by: Livio Spring <livio.a@gmail.com>
This commit is contained in:
parent
c336d6fd3f
commit
fc672c9adc
@ -24,7 +24,7 @@
|
||||
<div class="right">
|
||||
<button
|
||||
matTooltip="{{ 'ACTIONS.EDIT' | translate }}"
|
||||
[disabled]="!canWrite || state === UserState.USER_STATE_INITIAL"
|
||||
[disabled]="!canWrite"
|
||||
(click)="openEditDialog(EditDialogType.EMAIL)"
|
||||
mat-icon-button
|
||||
>
|
||||
|
@ -107,7 +107,7 @@
|
||||
[canWrite]="['user.write:' + user.id, 'user.write$'] | hasRole | async"
|
||||
*ngIf="user?.human"
|
||||
[human]="user.human"
|
||||
(editType)="openEditDialog($event)"
|
||||
(editType)="user.state !== UserState.USER_STATE_INITIAL ? openEditDialog($event) : resendInitEmail()"
|
||||
(deletedPhone)="deletePhone()"
|
||||
(resendEmailVerification)="resendEmailVerification()"
|
||||
(resendPhoneVerification)="resendPhoneVerification()"
|
||||
|
Loading…
x
Reference in New Issue
Block a user