diff --git a/src/components/Kubernetes/PodList.tsx b/src/components/Kubernetes/PodList.tsx index cfcfff8e..80d86806 100644 --- a/src/components/Kubernetes/PodList.tsx +++ b/src/components/Kubernetes/PodList.tsx @@ -7,8 +7,8 @@ import { deleteResourceCmd, forceDeleteResourceCmd, getResourceYamlCmd } from "@ import { ResourceActionMenu } from "./ResourceActionMenu"; import { ConfirmDeleteDialog } from "./ConfirmDeleteDialog"; import { LogStreamPanel } from "./LogStreamPanel"; -import { ShellExecModal } from "./ShellExecModal"; -import { AttachModal } from "./AttachModal"; +import { InteractiveShellModal } from "./InteractiveShellModal"; +import { InteractiveAttachModal } from "./InteractiveAttachModal"; import { EditResourceModal } from "./EditResourceModal"; interface PodListProps { @@ -177,24 +177,22 @@ export function PodList({ pods, clusterId, namespace, onRefresh }: PodListProps) )} {activeModal?.type === "shell" && ( - { if (!o) setActiveModal(null); }} + setActiveModal(null)} /> )} {activeModal?.type === "attach" && ( - { if (!o) setActiveModal(null); }} + setActiveModal(null)} /> )}