Skip to content

Commit

Permalink
Remove excess depricated @if
Browse files Browse the repository at this point in the history
  • Loading branch information
VirmasaloA committed Dec 11, 2024
1 parent 885f143 commit b2c5932
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions ui/src/app/question/library/search/library-search.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,14 @@
ngbDropdownItem
[attr.aria-label]="'i18n_pick_tag' + ' ' + tag.name"
>
@if (tag.usage && tag.usage > 0) {
<div role="menuitem" class="text" title="{{ 'i18n_category' | translate }}">
{{ tag.name }} <small class="text-muted">({{ tag.usage }})</small>
</div>
}
<div
*ngIf="tag.usage && tag.usage > 0"
role="menuitem"
class="text"
title="{{ 'i18n_category' | translate }}"
>
{{ tag.name }} <small class="text-muted">({{ tag.usage }})</small>
</div>
</button>
</ul>
</span>
Expand Down

0 comments on commit b2c5932

Please sign in to comment.