Skip to content

Commit a9798db

Browse files
committed
fixes issue 260
1 parent a547a40 commit a9798db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/components/add-value-form/add-value-form.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
cdkAutosizeMaxRows="7"></textarea>
4040
</mat-form-field>
4141

42-
<button mat-icon-button (click)="onRemoveItem(getItemArray(),i)" *ngIf="!isEditMode">
42+
<button mat-icon-button (click)="onRemoveItem(getItemArray(),i)" *ngIf="!isEditMode && getItemArray().length > 1">
4343
<i class="material-icons delete-icon">delete</i>
4444
</button>
4545
</div>

0 commit comments

Comments
 (0)