File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
IncidentDetails/AgentFlowChart Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,6 @@ const getFlowChartNodeData = ({
7777 label : agent . display_name ,
7878 isActive : isSelected ,
7979 isRunning : agent . running ,
80- isPending : agent . status === "pending" ,
8180 isInteractive,
8281 isDisabled : agent . status === "inactive" ,
8382 sideContainers : Object . values ( Position ) . map ( ( position ) => ( {
Original file line number Diff line number Diff line change 44 useDeleteIncidentAgentMCPServerMutation ,
55 useGetIncidentAgentMCPServersQuery
66} from "../../../redux/services/digma" ;
7- import { ConfirmationDialog } from "../../common/ConfirmationDialog " ;
7+ import { CancelConfirmation } from "../../common/CancelConfirmation " ;
88import { Overlay } from "../../common/Overlay" ;
99import type { ExtendedAgent } from "../IncidentDetails/AgentFlowChart/types" ;
1010import { MCPServerDialog } from "./MCPServerDialog" ;
@@ -199,11 +199,13 @@ export const IncidentTemplate = () => {
199199 ) }
200200 { mcpServerIdToDelete && (
201201 < s . StyledOverlay >
202- < ConfirmationDialog
202+ < CancelConfirmation
203203 header = { "Delete MCP server" }
204204 description = { "Are you sure you want to delete this MCP server?" }
205205 onClose = { handleDeleteMCPServerDialogClose }
206206 onConfirm = { handleDeleteMCPServerDialogConfirm }
207+ confirmBtnText = { "Yes, delete" }
208+ cancelBtnText = { "No, keep it" }
207209 />
208210 </ s . StyledOverlay >
209211 ) }
You can’t perform that action at this time.
0 commit comments