mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-04 16:03:06 +00:00
all
This commit is contained in:
@@ -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)}
|
||||
|
||||
Reference in New Issue
Block a user