diff --git a/frontend/src/components/ExecutorConfigForm.tsx b/frontend/src/components/ExecutorConfigForm.tsx
index 73e52959..3d0d8055 100644
--- a/frontend/src/components/ExecutorConfigForm.tsx
+++ b/frontend/src/components/ExecutorConfigForm.tsx
@@ -28,7 +28,6 @@ interface ExecutorConfigFormProps {
disabled?: boolean;
isSaving?: boolean;
isDirty?: boolean;
- hideSaveButton?: boolean;
}
import schemas from 'virtual:executor-schemas';
@@ -42,7 +41,6 @@ export function ExecutorConfigForm({
disabled = false,
isSaving = false,
isDirty = false,
- hideSaveButton = false,
}: ExecutorConfigFormProps) {
const [formData, setFormData] = useState(value || {});
const [validationErrors, setValidationErrors] = useState<
@@ -105,7 +103,7 @@ export function ExecutorConfigForm({
widgets={shadcnTheme.widgets}
templates={shadcnTheme.templates}
>
- {onSave && !hideSaveButton && (
+ {onSave && (
@@ -496,20 +546,22 @@ export function AgentSettings() {
- {/* Sticky Save bar (used for both editors) */}
-
-
-
+ {/* Save button for JSON editor mode only */}
+ {!useFormEditor && (
+
+
+
+
-
+ )}
);
}