Enhance ShowSchedules component with improved user feedback and schedule execution

- Updated the ShowSchedules component to include a delay before refetching schedules after a successful manual run, enhancing user experience by providing a brief confirmation period.
- Removed unnecessary console logging in the updateSchedule function to streamline the code and improve maintainability.
- Modified the scheduleJob utility to accept scheduleId as the first parameter, improving clarity and consistency in job scheduling.
This commit is contained in:
Mauricio Siu
2025-05-02 23:11:21 -06:00
parent 3072795232
commit 43ab1aa7b8
3 changed files with 6 additions and 4 deletions

View File

@@ -101,8 +101,6 @@ export const updateSchedule = async (
await handleScript(updatedSchedule);
}
console.log("updatedSchedule", updatedSchedule);
if (IS_CLOUD) {
// scheduleJob(updatedSchedule);
} else {