dmp ui contact ui fix
This commit is contained in:
parent
33c7676464
commit
0dc9a5e856
|
@ -228,7 +228,7 @@
|
|||
</ng-container>
|
||||
</div>
|
||||
</div>
|
||||
<div *ngIf="canSave" class="col-12 col-xl-auto">
|
||||
<div *ngIf="canSave || isNew" class="col-12 col-xl-auto">
|
||||
<button [disabled]="!this.canSave" mat-icon-button class="action-list-icon" matTooltip="{{'DMP-EDITOR.ACTIONS.REMOVE-CONTACT' | translate}}" (click)="removeContact(contactIndex)" [disabled]="formGroup.disabled">
|
||||
<mat-icon>delete</mat-icon>
|
||||
</button>
|
||||
|
@ -239,7 +239,7 @@
|
|||
</div>
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<button mat-icon-button (click)="addContact()" [disabled]="!this.canSave">
|
||||
<button mat-icon-button (click)="addContact()" [disabled]="!this.canSave && !isNew">
|
||||
<mat-icon>add</mat-icon>
|
||||
</button>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue