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: Update save method to return false on error instead of void

Salman-Ahamed7f187af1d537
diff --git a/packages/app/src/builder-ui/components/Component.class/index.ts b/packages/app/src/builder-ui/components/Component.class/index.ts
index add89691..eafc45cd 100644
--- a/packages/app/src/builder-ui/components/Component.class/index.ts
+++ b/packages/app/src/builder-ui/components/Component.class/index.ts
@@ -1733,7 +1733,7 @@ export class Component extends EventEmitter {
const saved = await this.save(values);
if (!saved) {
errorToast('Error saving settings');
- return;
+ return false;
}
if (this.properties.template) {