Added an id for komf userscript to help it inject into Kavita's UI without relying on strings, given localization. (#2226)

This commit is contained in:
Joe Milazzo 2023-08-18 20:15:33 -05:00 committed by GitHub
parent b3a38135aa
commit 480157fa7c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -14,6 +14,7 @@
</button>
<button *ngIf="hasFilter" class="btn btn-{{filterActive ? 'primary' : 'secondary'}} btn-small" (click)="toggleService.toggle()"
[attr.aria-expanded]="filterOpen" placement="left"
id="filter-btn--komf"
ngbTooltip="{{filterOpen ? t('open-filter-and-sort') : t('close-filter-and-sort')}}"
attr.aria-label="{{filterOpen ? t('open-filter-and-sort') : t('close-filter-and-sort')}}">
<i class="fa fa-filter" aria-hidden="true"></i>