This commit is contained in:
Ruben Fiszel
2024-10-10 04:26:24 +02:00
parent aacd19b22b
commit 3850ffd8e9
2 changed files with 4 additions and 2 deletions
@@ -17,6 +17,8 @@
let scheduleEditor: ScheduleEditor
export let flowEditor: boolean = false
$: path && loadSchedule()
$: path && loadSchedules()
@@ -67,7 +69,7 @@
}
}
const FlowEditorContext = getContext<FlowEditorContext>('FlowEditorContext')
const { primarySchedule, schedules } = getContext<FlowEditorContext>('FlowEditorContext')
</script>
<ScheduleEditor
@@ -79,7 +81,6 @@
/>
<div class="flex flex-col gap-4 w-full">
FOO
{#if flowEditor}
<FlowSchedules />
{:else}
@@ -63,6 +63,7 @@
{#if $selectedTrigger === 'schedules'}
<div class="p-4">
<RunPageSchedules
flowEditor={true}
isFlow={true}
path={path ?? ''}
can_write={canWrite(path, {}, $userStore)}