mirror of
https://github.com/andwati/zitadel.git
synced 2026-12-06 02:48:50 +00:00
fix(console): enable phonenumber edit (#725)
* fix: edit phonenumber * rm consolelog * remove ? operator * remove unnecessary check
This commit is contained in:
+4
-2
@@ -73,7 +73,8 @@
|
||||
<ng-template #emailEdit>
|
||||
<mat-form-field class="name">
|
||||
<mat-label>{{ 'USER.EMAIL' | translate }}</mat-label>
|
||||
<input *ngIf="user.human && user.human.email" matInput [(ngModel)]="user.human.email" />
|
||||
<input *ngIf="user.human && user.human.email !== undefined && user.human.email !== null"
|
||||
matInput [(ngModel)]="user.human.email" />
|
||||
</mat-form-field>
|
||||
<button (click)="emailEditState = false" mat-icon-button>
|
||||
<mat-icon class="icon">close</mat-icon>
|
||||
@@ -114,7 +115,8 @@
|
||||
<ng-template #phoneEdit>
|
||||
<mat-form-field class="name">
|
||||
<mat-label>{{ 'USER.PHONE' | translate }}</mat-label>
|
||||
<input *ngIf="user.human && user.human.phone" matInput [(ngModel)]="user.human.phone" />
|
||||
<input *ngIf="user.human && user.human.phone !== undefined && user.human.phone !== null"
|
||||
matInput [(ngModel)]="user.human.phone" />
|
||||
</mat-form-field>
|
||||
<button (click)="phoneEditState = false" mat-icon-button>
|
||||
<mat-icon class="icon">close</mat-icon>
|
||||
|
||||
Reference in New Issue
Block a user