diff --git a/src/components/SearchBar.vue b/src/components/SearchBar.vue index 92d449e4..7aec88d5 100644 --- a/src/components/SearchBar.vue +++ b/src/components/SearchBar.vue @@ -149,7 +149,10 @@

↑↓ {{ t`Navigate` }}

↩ {{ t`Select` }}

esc {{ t`Close` }}

- @@ -317,6 +320,10 @@ export default { ref.scrollIntoView({ block: 'nearest' }); }, getGroupFilterButtonClass(g) { + if (!this.searcher) { + return ''; + } + const isOn = this.searcher.filters.groupFilters[g]; const color = this.groupColorMap[g]; if (isOn) {