mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-21 08:02:26 +00:00
nits plug sleep & suspend groups
This commit is contained in:
@@ -57,6 +57,7 @@
|
||||
{#if flowModule.sleep && schema.properties['sleep']}
|
||||
<div class="border">
|
||||
<PropPickerWrapper
|
||||
noFlowPlugConnect={true}
|
||||
notSelectable
|
||||
{result}
|
||||
displayContext={false}
|
||||
|
||||
@@ -187,6 +187,7 @@
|
||||
<div class="border">
|
||||
<PropPickerWrapper
|
||||
{result}
|
||||
noFlowPlugConnect
|
||||
displayContext={false}
|
||||
pickableProperties={undefined}
|
||||
on:select={({ detail }) => {
|
||||
|
||||
@@ -43,6 +43,7 @@
|
||||
export let noPadding: boolean = false
|
||||
export let alwaysOn: boolean = false
|
||||
export let paneClass: string = ''
|
||||
export let noFlowPlugConnect = false
|
||||
|
||||
const propPickerConfig: Writable<PropPickerConfig | undefined> = writable<
|
||||
PropPickerConfig | undefined
|
||||
@@ -67,13 +68,15 @@
|
||||
}
|
||||
}
|
||||
propPickerConfig.set(config)
|
||||
flowPropPickerConfig.set({
|
||||
...config,
|
||||
clearFocus: () => {
|
||||
propPickerConfig.set(undefined)
|
||||
flowPropPickerConfig.set(undefined)
|
||||
}
|
||||
})
|
||||
if (!noFlowPlugConnect) {
|
||||
flowPropPickerConfig.set({
|
||||
...config,
|
||||
clearFocus: () => {
|
||||
propPickerConfig.set(undefined)
|
||||
flowPropPickerConfig.set(undefined)
|
||||
}
|
||||
})
|
||||
}
|
||||
},
|
||||
clearFocus: () => {
|
||||
flowPropPickerConfig.set(undefined)
|
||||
@@ -121,7 +124,7 @@
|
||||
: 'transparent'}
|
||||
animationDuration="4s"
|
||||
>
|
||||
{#if result}
|
||||
{#if result != undefined}
|
||||
<PropPickerResult
|
||||
{result}
|
||||
{extraResults}
|
||||
|
||||
Reference in New Issue
Block a user