fix nit warning for notSelectable proppickerwrapper

This commit is contained in:
Ruben Fiszel
2023-11-11 15:27:57 +01:00
parent 528f6fa910
commit 7191ad73ca

View File

@@ -67,7 +67,7 @@
<PropPickerResult
{result}
on:select={({ detail }) => {
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)