Skip to content

SmythOS Studio: Open-Source Visual AI Agent Builder and deployable runtime stack from SmythOS. Start with an intuitive drag-and-drop workspace, extend with custom code, and deploy your agents anywhere — local, cloud, or edge — with full governance and control.

Fix typo in onDraft function call in settings editor

Muhammad Hamza Khan1b5d762fac23
diff --git a/packages/app/src/builder-ui/components/Component.class/settings-editor.ts b/packages/app/src/builder-ui/components/Component.class/settings-editor.ts
index 2798c7af..7bd53c94 100644
--- a/packages/app/src/builder-ui/components/Component.class/settings-editor.ts
+++ b/packages/app/src/builder-ui/components/Component.class/settings-editor.ts
@@ -999,7 +999,7 @@ export async function editSettings(component: Component) {
actions: mergedActions,
onSave: onSave.bind(component),
onDraft: async function (values) {
- await onDraft.apply(component, [values]);ß
+ await onDraft.apply(component, [values]);
},
onBeforeCancel: onBeforeCancelSettings,
onCancel,