mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-26 00:01:37 +00:00
9314d38bf1
* raw json * raw json * raw json * raw json * the big rawjson rewrite * resolve merge conflicts * all * progress * progress * all compile * remove mut * remove mut * remove mut * arc queuedjob * finish * finish * finish * fixes * progress * fix result * small fixes * small fixes * fix tests * fix tests * fix tests * optimize eval timeout * optimize eval timeout * optimize eval timeout * handle big args and result in get jobs * improve args * fix * fix * fix tests * fix tests * done * add bigquery to native picker * add bigquery --------- Co-authored-by: gbouv <guillaume@windmill.dev>
24 lines
543 B
Svelte
24 lines
543 B
Svelte
<script lang="ts">
|
|
import { tick } from 'svelte'
|
|
import ScheduleEditorInner from './ScheduleEditorInner.svelte'
|
|
|
|
let open = false
|
|
export async function openEdit(ePath: string, isFlow: boolean) {
|
|
open = true
|
|
await tick()
|
|
drawer?.openEdit(ePath, isFlow)
|
|
}
|
|
|
|
export async function openNew(is_flow: boolean, initial_script_path?: string) {
|
|
open = true
|
|
await tick()
|
|
drawer?.openNew(is_flow, initial_script_path)
|
|
}
|
|
|
|
let drawer: ScheduleEditorInner
|
|
</script>
|
|
|
|
{#if open}
|
|
<ScheduleEditorInner on:update bind:this={drawer} />
|
|
{/if}
|