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