You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/deploy/components/deploy-modal/components/mcp-tool/mcp-tool.tsx
+80-21Lines changed: 80 additions & 21 deletions
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,8 @@ interface McpToolDeployProps {
33
33
workflowDescription?: string|null
34
34
isDeployed: boolean
35
35
onAddedToServer?: ()=>void
36
+
onSubmittingChange?: (submitting: boolean)=>void
37
+
onCanSaveChange?: (canSave: boolean)=>void
36
38
}
37
39
38
40
/**
@@ -79,6 +81,8 @@ export function McpToolDeploy({
79
81
workflowDescription,
80
82
isDeployed,
81
83
onAddedToServer,
84
+
onSubmittingChange,
85
+
onCanSaveChange,
82
86
}: McpToolDeployProps){
83
87
constparams=useParams()
84
88
constworkspaceId=params.workspaceIdasstring
@@ -200,11 +204,47 @@ export function McpToolDeploy({
200
204
}
201
205
},[servers,serverToolsMap])
202
206
207
+
// Track saved values to detect changes (use state so updates trigger re-render)
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/deploy/components/deploy-modal/deploy-modal.tsx
0 commit comments