Skip to content

Commit

Permalink
fix:#568 - Fixed getPromptDates
Browse files Browse the repository at this point in the history
  • Loading branch information
sana7044 committed Nov 18, 2024
1 parent 5df0a05 commit 969c99b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stores/prompts.js
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ export const usePromptStore = defineStore('prompts', {
async getPromptDates() {
const set = new Set()
if (this.hasMore) {
await this.fetchPrompts()
await this.fetchPrompts(true, this._totalPrompts)
this._hasMore = false
}
this.getPrompts?.map((prompt) => {
Expand Down

0 comments on commit 969c99b

Please sign in to comment.