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 feedback submission toast display logic in feedback-modal.ejs. Ensure success toast is shown after closing the feedback modal for improved user experience.

Salman-Ahameddaaf972233f3
diff --git a/packages/app/views/pages/partials/studio/feedback-modal.ejs b/packages/app/views/pages/partials/studio/feedback-modal.ejs
index 63f25e6e..57e4592d 100644
--- a/packages/app/views/pages/partials/studio/feedback-modal.ejs
+++ b/packages/app/views/pages/partials/studio/feedback-modal.ejs
@@ -265,8 +265,8 @@
setLoadingState(false);
if (result && result.success) {
- toast?.('Thank you for your feedback!', 'Success', 'success');
closeFeedbackModal();
+ toast?.('Thank you for your feedback!', 'Success', 'success');
} else {
toast?.('Failed to submit feedback. Please try again.', 'Error', 'alert');
console.error('Failed to submit feedback to HubSpot');