There was an error while loading. Please reload this page.
1 parent 381bfe6 commit dc714f7Copy full SHA for dc714f7
1 file changed
client/src/lib/components/ResultsContainer.svelte
@@ -15,8 +15,8 @@
15
openEntryId = openEntryId === id ? null : id;
16
}
17
18
- const queryStats = $derived(() => {
19
- if (!appState.queryInfo || appState.results.length === 0) {
+ const queryStats = $derived.by(() => {
+ if (!appState.queryInfo || appState.queryInfo.totalResults === 0) {
20
return null;
21
22
0 commit comments