From 4f3bcd4624f858350792fdee59d25be6ec79f058 Mon Sep 17 00:00:00 2001 From: Alex Holliday Date: Tue, 3 Feb 2026 23:45:23 +0000 Subject: [PATCH] incident page fixed --- client/src/Components/v2/inputs/Dialog.tsx | 18 ++++++++++-------- .../Components/DialogIncidentDetails.tsx | 8 +++++--- client/src/locales/en.json | 5 +++++ 3 files changed, 20 insertions(+), 11 deletions(-) diff --git a/client/src/Components/v2/inputs/Dialog.tsx b/client/src/Components/v2/inputs/Dialog.tsx index 12831d4c4..717126edb 100644 --- a/client/src/Components/v2/inputs/Dialog.tsx +++ b/client/src/Components/v2/inputs/Dialog.tsx @@ -59,14 +59,16 @@ export const DialogInput = ({ > {cancelText ?? t("common.buttons.cancel")} - + {onConfirm && ( + + )} ); diff --git a/client/src/Pages/Incidents/Components/DialogIncidentDetails.tsx b/client/src/Pages/Incidents/Components/DialogIncidentDetails.tsx index da24538e2..daef58f68 100644 --- a/client/src/Pages/Incidents/Components/DialogIncidentDetails.tsx +++ b/client/src/Pages/Incidents/Components/DialogIncidentDetails.tsx @@ -22,13 +22,15 @@ export const DialogIncidentDetails = ({ }: DialogIncidentDetailsProps) => { const { t } = useTranslation(); + const isActive = incident?.status === true; + return ( diff --git a/client/src/locales/en.json b/client/src/locales/en.json index af638e48d..81924ad57 100644 --- a/client/src/locales/en.json +++ b/client/src/locales/en.json @@ -188,6 +188,7 @@ }, "buttons": { "cancel": "Cancel", + "close": "Close", "configure": "Configure", "confirm": "Confirm", "create": "Create", @@ -653,6 +654,10 @@ "overview": "Overview", "resolutionDetails": "Resolution details", "resolutionType": "Type:", + "resolutionTypes": { + "automatic": "Automatic", + "manual": "Manual" + }, "resolve": "Resolve Incident", "resolvedAt": "Resolved at:", "resolvedBy": "Resolved by:",