Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(flows): handle missing flow data in FlowsPage

Steven Enamakel683b5ca8ab1e
diff --git a/app/src/pages/FlowsPage.tsx b/app/src/pages/FlowsPage.tsx
index 28d2d389af..1bf1bcea55 100644
--- a/app/src/pages/FlowsPage.tsx
+++ b/app/src/pages/FlowsPage.tsx
@@ -48,6 +48,7 @@ import {
setFlowEnabled,
} from '../services/api/flowsApi';
import type { ToastNotification } from '../types/intelligence';
+import CronJobsPanel from '../components/settings/panels/CronJobsPanel';
import WorkflowDiscoveriesPage from './WorkflowDiscoveriesPage';
import WorkflowRunsPage from './WorkflowRunsPage';
@@ -464,6 +465,14 @@ export default function FlowsPage() {
label: t('nav.workflowDiscoveries'),
iconPath: 'M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z',
},
+ // Scheduled jobs moved here from Settings → Cron jobs. A recurring
+ // schedule is a way to run automation, so it belongs beside the flows it
+ // triggers rather than in a settings menu.
+ {
+ value: 'schedules',
+ label: t('settings.developerMenu.cronJobs.title'),
+ iconPath: 'M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z',
+ },
],
});
@@ -529,6 +538,15 @@ export default function FlowsPage() {
);
}
+ if (view === 'schedules') {
+ return (
+ <>
+ {nav}
+ <CronJobsPanel />
+ </>
+ );
+ }
+
return (
<>
{nav}