diff --git a/src/pages/SearchPage.vue b/src/pages/SearchPage.vue index c284d023..b0a44a99 100644 --- a/src/pages/SearchPage.vue +++ b/src/pages/SearchPage.vue @@ -46,7 +46,13 @@
- +
diff --git a/src/stores/prompts.js b/src/stores/prompts.js index 73609791..ac52b262 100644 --- a/src/stores/prompts.js +++ b/src/stores/prompts.js @@ -113,10 +113,9 @@ export const usePromptStore = defineStore('prompts', { if (newPrompts.length > 0) { this._lastVisible = querySnapshot.docs[querySnapshot.docs.length - 1] - this._hasMore = true - } else { - this._hasMore = false } + if (newPrompts.length > 4) this._hasMore = true + else this._hasMore = false this._prompts = loadMore ? [...(this._prompts || []), ...newPrompts] : newPrompts