fix: update logs table total count display
- Replace `logs.length` with `logCount` in pagination information - Ensure accurate total log count is displayed in the logs table
This commit is contained in:
@@ -846,7 +846,7 @@ const LogsTable = () => {
|
|||||||
t('第 {{start}} - {{end}} 条,共 {{total}} 条', {
|
t('第 {{start}} - {{end}} 条,共 {{total}} 条', {
|
||||||
start: page.currentStart,
|
start: page.currentStart,
|
||||||
end: page.currentEnd,
|
end: page.currentEnd,
|
||||||
total: logs.length
|
total: logCount
|
||||||
}),
|
}),
|
||||||
currentPage: activePage,
|
currentPage: activePage,
|
||||||
pageSize: pageSize,
|
pageSize: pageSize,
|
||||||
|
|||||||
Reference in New Issue
Block a user