From 0861ca2b94b75db6bc3c12b39e2eaec799210c4d Mon Sep 17 00:00:00 2001 From: "Kuchenik, Venessa J" Date: Wed, 5 Aug 2026 18:58:47 +0000 Subject: [PATCH] Adding functional IVANS widget with dialog popup view of summary and pdfs --- client/src/components/Widgets/IvansAlerts.jsx | 29 ++++++++++--------- client/src/constants/widgetRegistry.jsx | 1 - 2 files changed, 16 insertions(+), 14 deletions(-) diff --git a/client/src/components/Widgets/IvansAlerts.jsx b/client/src/components/Widgets/IvansAlerts.jsx index 7485339..d669a72 100644 --- a/client/src/components/Widgets/IvansAlerts.jsx +++ b/client/src/components/Widgets/IvansAlerts.jsx @@ -203,19 +203,22 @@ function SummaryDialog({ open, onOpenChange, item }) {
{item?.files?.map((file, index) => { return ( - - - - Your browser cannot display this PDF directly. - - - Download PDF - - - + <> + + + + Your browser cannot display this PDF directly. + + + Download PDF + + + +
+ )})} diff --git a/client/src/constants/widgetRegistry.jsx b/client/src/constants/widgetRegistry.jsx index 0ae2a2c..abb0d68 100644 --- a/client/src/constants/widgetRegistry.jsx +++ b/client/src/constants/widgetRegistry.jsx @@ -55,7 +55,6 @@ export const WIDGET_REGISTRY = { medium: { w: 3, h: 9 }, large: { w: 3, h: 12 }, gargantuan: { w: 6, h: 12 }, - } },