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.

Update modal container IDs for builder UI

Muhammad Hamza Khan4d9d6a918510
diff --git a/packages/app/src/builder-ui/pages/builder/modals/index.js b/packages/app/src/builder-ui/pages/builder/modals/index.js
index ed05759f..fa9c0327 100644
--- a/packages/app/src/builder-ui/pages/builder/modals/index.js
+++ b/packages/app/src/builder-ui/pages/builder/modals/index.js
@@ -9,13 +9,13 @@ export async function setupModals(_workspace) {
workspace = _workspace;
// Ensure the container exists before rendering
- const container = document.getElementById('builder-modals-container');
+ const container = document.getElementById('builder-deploy-modal-container');
if (!container) {
console.error('Modal container not found');
return;
}
- renderAgentModals({ rootID: 'builder-modals-container' });
+ renderAgentModals({ rootID: 'builder-deploy-modal-container' });
// Ensure the container exists before rendering
const simpleModalContainer = document.getElementById('self-contained-builder-modals');
if (!simpleModalContainer) {
diff --git a/packages/app/views/pages/builder.ejs b/packages/app/views/pages/builder.ejs
index 326f39f6..ccb6921e 100644
--- a/packages/app/views/pages/builder.ejs
+++ b/packages/app/views/pages/builder.ejs
@@ -138,7 +138,8 @@
<!-- Settings Panel -->
- <div id="builder-modals-container" class="z-20"></div>
+ <div id="builder-deploy-modal-container" class="z-20"></div>
+ <div id="builder-share-agent-modal-container" class="z-20"></div>
<div id="self-contained-builder-modals" class="z-20"></div>
</div>