mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-25 08:02:04 +00:00
UI: streamline cron page loading toggles
This commit is contained in:
@@ -278,10 +278,10 @@ export async function loadCronJobsPage(state: CronState, opts?: { append?: boole
|
||||
return;
|
||||
}
|
||||
const append = opts?.append === true;
|
||||
if (append && !state.cronJobsHasMore) {
|
||||
return;
|
||||
}
|
||||
if (append) {
|
||||
if (!state.cronJobsHasMore) {
|
||||
return;
|
||||
}
|
||||
state.cronJobsLoadingMore = true;
|
||||
} else {
|
||||
state.cronLoading = true;
|
||||
|
||||
Reference in New Issue
Block a user