Hide pw generate button while editing a user
This commit is contained in:
parent
f86f8ec9b4
commit
7022ab8cec
@ -195,14 +195,7 @@
|
|||||||
formControlName="default_password"
|
formControlName="default_password"
|
||||||
/>
|
/>
|
||||||
<mat-hint align="end">Generate</mat-hint>
|
<mat-hint align="end">Generate</mat-hint>
|
||||||
<button
|
<button *ngIf="newUser" type="button" mat-button matSuffix mat-icon-button (click)="generatePassword()">
|
||||||
type="button"
|
|
||||||
mat-button
|
|
||||||
matSuffix
|
|
||||||
mat-icon-button
|
|
||||||
[disabled]="!newUser"
|
|
||||||
(click)="generatePassword()"
|
|
||||||
>
|
|
||||||
<mat-icon>sync_problem</mat-icon>
|
<mat-icon>sync_problem</mat-icon>
|
||||||
</button>
|
</button>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
|
Loading…
Reference in New Issue
Block a user