From 5822dcbf4735020b7ff017310e5a714b5461eed4 Mon Sep 17 00:00:00 2001 From: Marco Pedone Date: Wed, 18 Mar 2026 18:13:22 +0100 Subject: [PATCH] feat: enhance UserViewHeader button layout and add notification indicator for notes --- apps/infoalloggi/src/components/Layout.tsx | 2 +- .../components/area-riservata/userViewHeader.tsx | 13 ++++++++++--- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/apps/infoalloggi/src/components/Layout.tsx b/apps/infoalloggi/src/components/Layout.tsx index 7211757..ba8fc1e 100644 --- a/apps/infoalloggi/src/components/Layout.tsx +++ b/apps/infoalloggi/src/components/Layout.tsx @@ -184,7 +184,7 @@ export const AreaRiservataLayoutUserView = ({ isAdmin /> -
+
{children} diff --git a/apps/infoalloggi/src/components/area-riservata/userViewHeader.tsx b/apps/infoalloggi/src/components/area-riservata/userViewHeader.tsx index 9d76f50..39c973c 100644 --- a/apps/infoalloggi/src/components/area-riservata/userViewHeader.tsx +++ b/apps/infoalloggi/src/components/area-riservata/userViewHeader.tsx @@ -336,9 +336,16 @@ const NoteUtenteDialog = () => { return ( - +
+ + {note && note.trim().length > 0 && ( + + + + )} +