dmp ui contact ui fix

This commit is contained in:
amentis 2024-05-09 10:52:36 +03:00
parent 33c7676464
commit 0dc9a5e856
1 changed files with 2 additions and 2 deletions

View File

@ -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>