From 7191ad73ca32cd98705d612f5ce466959245c401 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Sat, 11 Nov 2023 15:27:57 +0100 Subject: [PATCH] fix nit warning for notSelectable proppickerwrapper --- .../lib/components/flows/propPicker/PropPickerWrapper.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/lib/components/flows/propPicker/PropPickerWrapper.svelte b/frontend/src/lib/components/flows/propPicker/PropPickerWrapper.svelte index 7c65ea0fed..7acaa340b6 100644 --- a/frontend/src/lib/components/flows/propPicker/PropPickerWrapper.svelte +++ b/frontend/src/lib/components/flows/propPicker/PropPickerWrapper.svelte @@ -67,7 +67,7 @@ { - if (!$propPickerConfig) { + if (!notSelectable && !$propPickerConfig) { sendUserToast('Set cursor within an input or click on the plug first', true) } dispatch('select', detail) @@ -83,7 +83,7 @@ {pickableProperties} {notSelectable} on:select={({ detail }) => { - if (!$propPickerConfig) { + if (!notSelectable && !$propPickerConfig) { sendUserToast('Set cursor within an input or click on the plug first', true) } dispatch('select', detail)