Skip to content

Commit

Permalink
Merge pull request #750 from writer/fix-ui-workflows-link-small-fixes
Browse files Browse the repository at this point in the history
fix: UI workflows link small fixes
  • Loading branch information
ramedina86 authored Feb 20, 2025
2 parents ef9bf77 + b0b7b55 commit b9af35e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ui/src/builder/settings/BuilderFieldsText.vue
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ const predefinedOptionFns = {
.filter((c) => wf.isChildOf("root", c.id))
.filter((c) => Boolean(wf.getComponentDefinition(c.type).events))
.reduce((acc, component) => {
acc[component.id] = [component.id];
acc[component.id] = component.id;
return acc;
}, {});
},
Expand Down
2 changes: 1 addition & 1 deletion src/ui/src/renderer/ComponentProxy.vue
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ export default {
wf.forwardEvent(ev, instancePath, true);
}
const handlerFunction =
component.value.handlers?.[eventType];
component.value.handlers?.[eventType] ?? null;
getHandlerCallable(handlerFunction, isBinding)?.(ev);
};
});
Expand Down

0 comments on commit b9af35e

Please sign in to comment.