Commit 01915c04 authored by Robert Knight's avatar Robert Knight

Fix "No results for {query}" message

Usage of `vm.search.query` in the `<sidebar-content>` template was
incorrect. `vm.search` is always set and `query` is a function that
returns a string, not a string.

Fixes #9
parent f609e769
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
filter-active="!!vm.search.query()" filter-active="!!vm.search.query()"
filter-match-count="vm.visibleCount()" filter-match-count="vm.visibleCount()"
on-clear-selection="vm.clearSelection()" on-clear-selection="vm.clearSelection()"
search-query="vm.search ? vm.search.query : ''" search-query="vm.search.query()"
selection-count="vm.selectedAnnotationCount()" selection-count="vm.selectedAnnotationCount()"
total-count="vm.topLevelThreadCount()" total-count="vm.topLevelThreadCount()"
selected-tab="vm.selectedTab" selected-tab="vm.selectedTab"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment