mirror of
https://github.com/zitadel/zitadel.git
synced 2025-01-08 13:27:41 +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">
|
<div class="right">
|
||||||
<button
|
<button
|
||||||
matTooltip="{{ 'ACTIONS.EDIT' | translate }}"
|
matTooltip="{{ 'ACTIONS.EDIT' | translate }}"
|
||||||
[disabled]="!canWrite || state === UserState.USER_STATE_INITIAL"
|
[disabled]="!canWrite"
|
||||||
(click)="openEditDialog(EditDialogType.EMAIL)"
|
(click)="openEditDialog(EditDialogType.EMAIL)"
|
||||||
mat-icon-button
|
mat-icon-button
|
||||||
>
|
>
|
||||||
|
@ -107,7 +107,7 @@
|
|||||||
[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)="openEditDialog($event)"
|
(editType)="user.state !== UserState.USER_STATE_INITIAL ? openEditDialog($event) : resendInitEmail()"
|
||||||
(deletedPhone)="deletePhone()"
|
(deletedPhone)="deletePhone()"
|
||||||
(resendEmailVerification)="resendEmailVerification()"
|
(resendEmailVerification)="resendEmailVerification()"
|
||||||
(resendPhoneVerification)="resendPhoneVerification()"
|
(resendPhoneVerification)="resendPhoneVerification()"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user