diff --git a/console/src/app/pages/users/user-detail/user-detail/user-detail.component.html b/console/src/app/pages/users/user-detail/user-detail/user-detail.component.html index 3752bb00f3..91919c18ad 100644 --- a/console/src/app/pages/users/user-detail/user-detail/user-detail.component.html +++ b/console/src/app/pages/users/user-detail/user-detail/user-detail.component.html @@ -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()"