This commit is contained in:
Adria Navarro 2023-09-21 13:24:29 +02:00
parent d25542f2c3
commit 013f00e90d
1 changed files with 1 additions and 2 deletions

View File

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