fix: reset page number after query
This commit is contained in:
1 parent
baab9c71ac
commit
536cbe4c8b
1 file changed
+1
@@ -129,6 +129,7 @@ const LogsTable = () => {
|
|||||||
|
|
||||||
const refresh = async () => {
|
const refresh = async () => {
|
||||||
setLoading(true);
|
setLoading(true);
|
||||||
|
setActivePage(1)
|
||||||
await loadLogs(0);
|
await loadLogs(0);
|
||||||
if (isAdminUser) {
|
if (isAdminUser) {
|
||||||
getLogStat().then();
|
getLogStat().then();
|
||||||
|
|||||||
Reference in new issue
Block a user