Skip to content

Commit

Permalink
only one button on vocabulary tree view, greyed out with closed contr…
Browse files Browse the repository at this point in the history
…olled vocabulary DSpace#3325
  • Loading branch information
aseyedia committed Sep 24, 2024
1 parent 16943fe commit 61167ef
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,8 @@
<button class="btn btn-outline-secondary" type="button" (click)="reset()">
{{'vocabulary-treeview.search.form.reset' | translate}}
</button>
<button *ngIf="showAdd && this.vocabularyOptions.closed" class="btn btn-outline-primary" type="button" (click)="add()">
{{'vocabulary-treeview.search.form.add' | translate}}
</button>
<button class="btn btn-outline-primary" type="button" (click)="add()" [disabled]="this.vocabularyOptions.closed">
<button *ngIf="showAdd" class="btn btn-outline-primary" type="button" (click)="add()"
[disabled]="this.vocabularyOptions.closed">
{{'vocabulary-treeview.search.form.add' | translate}}
</button>
</div>
Expand Down

0 comments on commit 61167ef

Please sign in to comment.