Skip to content

Commit

Permalink
fix resourceFilterEnabled being hidden
Browse files Browse the repository at this point in the history
  • Loading branch information
Gebuz committed Dec 8, 2023
1 parent 436582d commit 6b237b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ class GSearchUI extends HTMLElement {
setApiUrl(this.dataset.api)
}
this.setResources(this.dataset.resources)
if (this.dataset.resourceFilterEnabled === 'true') this.resources_element?.classList.add('hidden')
if (this.dataset.resourceFilterEnabled === 'true') this.resources_element?.classList.remove('hidden')

// add event listeners
this.addEventListener('input-change', event => {
Expand Down

0 comments on commit 6b237b8

Please sign in to comment.