fix(ui): reset page to 1 when searching prompts (#22912)
This commit is contained in:
1 file changed
+1
@@ -64,6 +64,7 @@
|
|||||||
loading = true;
|
loading = true;
|
||||||
clearTimeout(searchDebounceTimer);
|
clearTimeout(searchDebounceTimer);
|
||||||
searchDebounceTimer = setTimeout(() => {
|
searchDebounceTimer = setTimeout(() => {
|
||||||
|
page = 1;
|
||||||
getPromptList();
|
getPromptList();
|
||||||
}, 300);
|
}, 300);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user