1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Update src/components/filterdialog/filterdialog.js

Co-authored-by: viown <48097677+viown@users.noreply.github.com>
This commit is contained in:
othmar52 2024-11-26 03:24:30 +01:00 committed by Bill Thornton
parent 9a689754b9
commit c36e054435

View file

@ -128,7 +128,7 @@ function triggerChange(instance) {
Events.trigger(instance, 'filterchange');
// show or hide reset filter button on any filter change
const elem = document.querySelector('.btnResetAllFilters');
if (getFilterStatus(instance.options.query) === true) {
if (getFilterStatus(instance.options.query)) {
elem.classList.remove('hide');
return;
}