Skip to content

Commit 0da182a

Browse files
committed
Fix import
1 parent 828f433 commit 0da182a

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/components/Agentic/IncidentDetails/AgentFlowChart/index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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) => ({

src/components/Agentic/IncidentTemplate/index.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
44
useDeleteIncidentAgentMCPServerMutation,
55
useGetIncidentAgentMCPServersQuery
66
} from "../../../redux/services/digma";
7-
import { ConfirmationDialog } from "../../common/ConfirmationDialog";
7+
import { CancelConfirmation } from "../../common/CancelConfirmation";
88
import { Overlay } from "../../common/Overlay";
99
import type { ExtendedAgent } from "../IncidentDetails/AgentFlowChart/types";
1010
import { 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
)}

0 commit comments

Comments
 (0)