Merge f9a9aacc961705b104e6bddd3953618817b2d432 into 598f1826d8b2bc969aace2c6459824737667218c

This commit is contained in:
hcl 2026-03-21 12:11:15 +08:00 committed by GitHub
commit 39ca7b2e43
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -288,7 +288,7 @@ export async function loadCronJobsPage(state: CronState, opts?: { append?: boole
hasMoreRaw: res.hasMore,
pageCount: jobs.length,
});
state.cronJobsTotal = Math.max(meta.total, state.cronJobs.length);
state.cronJobsTotal = append ? Math.max(meta.total, state.cronJobs.length) : meta.total;
state.cronJobsHasMore = meta.hasMore;
state.cronJobsNextOffset = meta.nextOffset;
if (