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: Expanding "advanced" section removes test button

ali-inkcod11feb75617a
diff --git a/packages/app/src/builder-ui/ui/form/form.ts b/packages/app/src/builder-ui/ui/form/form.ts
index 0aacc824..7dff9ebd 100644
--- a/packages/app/src/builder-ui/ui/form/form.ts
+++ b/packages/app/src/builder-ui/ui/form/form.ts
@@ -240,16 +240,6 @@ export function createForm(entriesObject, displayType = 'block'): FormHTMLElemen
arrow.style.transform = 'translateX(10px)';
}
});
-
- // Add click handler to Advanced section toggle to show/hide test API button
- const advancedToggle = form.querySelector('#collapse_toggle_Advanced') as HTMLElement;
- advancedToggle?.addEventListener('click', () => {
- if (!advancedToggle.classList.contains('active-toggle')) {
- testApiButton.classList.add('hidden');
- } else {
- testApiButton.classList.remove('hidden');
- }
- });
form.appendChild(testApiButton);
}