mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-26 08:01:38 +00:00
fix drawer issues
This commit is contained in:
@@ -114,6 +114,16 @@
|
||||
stepsState: Record<string, stepState>
|
||||
}
|
||||
noInitial?: boolean
|
||||
onSaveInitial?: ({ path, id }: { path: string; id: string }) => void
|
||||
onSaveDraft?: ({
|
||||
path,
|
||||
savedAtNewPath,
|
||||
newFlow
|
||||
}: {
|
||||
path: string
|
||||
savedAtNewPath: boolean
|
||||
newFlow: boolean
|
||||
}) => void
|
||||
}
|
||||
|
||||
let {
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
}
|
||||
|
||||
let {
|
||||
open = $bindable(false),
|
||||
open = $bindable(undefined),
|
||||
duration = 0.3,
|
||||
placement = 'right',
|
||||
size = '600px',
|
||||
@@ -35,6 +35,10 @@
|
||||
children
|
||||
}: Props = $props()
|
||||
|
||||
if (open === undefined) {
|
||||
open = false
|
||||
}
|
||||
|
||||
let disposable: Disposable | undefined = $state(undefined)
|
||||
|
||||
let durationMs = $derived(duration * 1000)
|
||||
|
||||
Reference in New Issue
Block a user