Skip to content

Commit 99dc698

Browse files
committed
[DSC-1362] Fix issue with add button
1 parent 274706e commit 99dc698

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/shared/form/vocabulary-treeview/vocabulary-treeview.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<button class="btn btn-secondary ml-3 flex-shrink-0" type="button" (click)="reset()">
1313
<span><i class="fas fa-eraser"></i> {{'vocabulary-treeview.search.form.reset' | translate}}</span>
1414
</button>
15-
<button *ngIf="showAdd " class="btn btn-secondary ml-3 flex-shrink-0" type="button" (click)="add()">
15+
<button *ngIf="showAdd && !this.vocabularyOptions.closed" class="btn btn-secondary ml-3 flex-shrink-0" type="button" (click)="add()">
1616
<span><i class="fas fa-plus"></i> {{'vocabulary-treeview.search.form.add' | translate}}</span>
1717
</button>
1818
</div>

0 commit comments

Comments
 (0)