Skip to content

Commit ac17b54

Browse files
authored
Merge pull request #1131 from writer/fix-event-not-found-in-run-mode
fix: Event not found wrong optimization
2 parents 21b1424 + 21503d8 commit ac17b54

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

src/ui/src/renderer/useFormValueBroker.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -55,18 +55,6 @@ export function useFormValueBroker<T = any>(
5555
) {
5656
formValue.value = eventValue;
5757

58-
const isHandlerSet = component.value.handlers?.[emitEventType];
59-
const isBindingSet =
60-
component.value.binding?.eventType == emitEventType;
61-
const isBlueprintAttached = useComponentLinkedBlueprints(
62-
wf,
63-
componentId,
64-
emitEventType,
65-
).isLinked.value;
66-
67-
// Event is not used
68-
if (!isHandlerSet && !isBindingSet && !isBlueprintAttached) return;
69-
7058
if (isBusy.value) {
7159
// Queued event is overwritten for debouncing purposes
7260

0 commit comments

Comments
 (0)