Explorar el Código

fix: reset page number after query

JustSong hace 2 años
padre
commit
5fdf670a19
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      web/src/components/LogsTable.js

+ 1 - 0
web/src/components/LogsTable.js

@@ -129,6 +129,7 @@ const LogsTable = () => {
 
   const refresh = async () => {
     setLoading(true);
+    setActivePage(1)
     await loadLogs(0);
     if (isAdminUser) {
       getLogStat().then();