Fix search

This commit is contained in:
Adria Navarro 2023-09-21 13:22:48 +02:00
parent 2ef014b070
commit d25542f2c3
1 changed files with 1 additions and 2 deletions

View File

@ -49,8 +49,7 @@
$: {
const termChangedSinceFetch = (lastFetchedTerm || "") !== (fetchTerm || "")
const allRowsFetched =
!lastFetchedTerm && $fetch.rows.length === $fetch.totalRows
const allRowsFetched = !lastFetchedTerm / !$fetch.hasNextPage
if (!allRowsFetched && termChangedSinceFetch) {
debugger
// Don't request until we have the primary display