mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-11-18 01:54:23 +01:00
fix(admin): preserve scanned Redis history during refresh
This commit is contained in:
1 parent
8b928a4c82
commit
21f2c4eb4d
4 files changed
+7
-4
No files matched your search
@@ -1731,7 +1731,7 @@ export const errorsAdminController = function (state, http, location, interval)
|
||||
const offset = append ? (state.redisNextOffset || state.entries.length) : 0;
|
||||
const limit = append
|
||||
? state.pageSize
|
||||
: Math.max(state.pageSize, state.entries.length || state.pageSize);
|
||||
: Math.max(state.pageSize, state.redisNextOffset || state.entries.length || state.pageSize);
|
||||
http
|
||||
.get("/api/admin/errors", { params: { offset, limit } })
|
||||
.then(
|
||||
|
||||
Reference in new issue
Block a user