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.

Remove duplicate classes

samme-abdule0eb67d86c27
diff --git a/packages/app/src/builder-ui/ui/dialogs.ts b/packages/app/src/builder-ui/ui/dialogs.ts
index bf1ba579..c96b1e9c 100644
--- a/packages/app/src/builder-ui/ui/dialogs.ts
+++ b/packages/app/src/builder-ui/ui/dialogs.ts
@@ -114,7 +114,7 @@ export async function createRightSidebar(title?, content?, actions?, trActions?,
const closeBtn: HTMLButtonElement = rightSidebar.querySelector('.close-btn');
const saveBtn: HTMLButtonElement = rightSidebar.querySelector('.save-btn');
- if (title) sidebarTitle.innerHTML = `<div class="inline-flex items-center gap-2 min-w-0 max-w-full">${title}</div>`;
+ if (title) sidebarTitle.innerText = title;
// Ensure title container doesn't affect vertical alignment of adjacent actions
(sidebarTitle as HTMLElement).style.display = 'inline-flex';
(sidebarTitle as HTMLElement).style.alignItems = 'center';