Skip to content

Commit e911db7

Browse files
authored
Merge pull request #415 from topcoderinc/issue-260
fixes issue 260
2 parents 48f1bf6 + a9798db commit e911db7

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
@@ -38,7 +38,7 @@
3838
cdkAutosizeMaxRows="7"></textarea>
3939
</mat-form-field>
4040

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

0 commit comments

Comments
 (0)