mirror of
https://github.com/linux-do/new-api.git
synced 2025-09-18 00:16:37 +08:00
fix: 修复日志翻页问题 (close #122)
This commit is contained in:
parent
4b952b8582
commit
f65477d054
@ -265,7 +265,7 @@ const LogsTable = () => {
|
||||
setActivePage(page);
|
||||
if (page === Math.ceil(logs.length / pageSize) + 1) {
|
||||
// In this case we have to load more data and then append them.
|
||||
loadLogs(page - 1, pageSize).then(r => {
|
||||
loadLogs(page - 1, pageSize, logType).then(r => {
|
||||
});
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user