From c40dad7b097f6128e76e04739f3041928d81f771 Mon Sep 17 00:00:00 2001 From: Safouen Turki Date: Sat, 12 Oct 2024 23:03:15 +0100 Subject: [PATCH] fix erros --- .../components/AddonsTable/AddonsTable.tsx | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/src/modules/clusters/cluster-information/components/AddonsTable/AddonsTable.tsx b/src/modules/clusters/cluster-information/components/AddonsTable/AddonsTable.tsx index 098e96b..b5d1ac3 100644 --- a/src/modules/clusters/cluster-information/components/AddonsTable/AddonsTable.tsx +++ b/src/modules/clusters/cluster-information/components/AddonsTable/AddonsTable.tsx @@ -16,6 +16,7 @@ import { import { Button } from "@/components/ui/button"; import { Check, + Copy, ExternalLink, ImageOff, MoreHorizontal, @@ -38,6 +39,11 @@ import { resourceColumns, } from "@/modules/clusters/cluster-information/components/AddonsTable/Columns"; import { AddonColumn, AddonTableTypes } from "@/types/addonTable.types"; +import { + Tooltip, + TooltipContent, + TooltipTrigger, +} from "@/components/ui/tooltip"; export const AddonsTable = ({ data, @@ -194,6 +200,34 @@ export const AddonsTable = ({ }, )} + ) : column.keys == AddonTableTypes.FAILURE_MESSAGE ? ( + + + {row.failureMessage && ( + + + + {row.failureMessage} + + + )} + +

{row.failureMessage}

+
+
+
) : column.keys == AddonTableTypes.STATUS ? (