From 24057811d1799066f110dbab0213d05bc96f0441 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Thu, 7 Nov 2024 19:34:32 +0100 Subject: [PATCH] nits improvements --- .../propertyPicker/PropPicker.svelte | 33 +++++-------------- 1 file changed, 9 insertions(+), 24 deletions(-) diff --git a/frontend/src/lib/components/propertyPicker/PropPicker.svelte b/frontend/src/lib/components/propertyPicker/PropPicker.svelte index 981ece1feba6b..02e619dc3771b 100644 --- a/frontend/src/lib/components/propertyPicker/PropPicker.svelte +++ b/frontend/src/lib/components/propertyPicker/PropPicker.svelte @@ -209,7 +209,9 @@ {/if} {#if flowInputsFiltered && (Object.keys(flowInputsFiltered ?? {}).length > 0 || !filterActive)}
- Flow Input + flow_input
@@ -253,7 +255,7 @@ />
{/if} - All Results + results
{/if} {:else} - {@const json = Object.fromEntries( - Object.entries(resultByIdFiltered ?? {}).filter(([k, v]) => k == previousId) - )} - {#if previousId && Object.keys(json).length > 0} - Previous Result -
- k == previousId) - )} - prefix="results" - on:select - /> -
- {/if} {#if pickableProperties.hasResume} Resume payloads
@@ -313,8 +298,8 @@
{/if} {#if Object.keys(resultByIdFiltered ?? {}).length > 0} -
- All Results +
+ results match.word === 'variable')} -
- Variables: +
+ Variables: {#if displayVariable}