From 6d736e3668d15503620255e4c53e092fbc5232e7 Mon Sep 17 00:00:00 2001 From: omaroughriss Date: Thu, 23 Oct 2025 16:41:57 +0200 Subject: [PATCH] Simplify notifications --- app/dashboard/folders/page.tsx | 46 +++++++++++++++++++++------------- 1 file changed, 28 insertions(+), 18 deletions(-) diff --git a/app/dashboard/folders/page.tsx b/app/dashboard/folders/page.tsx index 6ff59ac..c5b6a7e 100644 --- a/app/dashboard/folders/page.tsx +++ b/app/dashboard/folders/page.tsx @@ -304,24 +304,12 @@ export default function FoldersPage() { return ( -
- {/* Notification */} - {notification && ( -
- {notification.type === "success" && } - {notification.type === "error" && } - {notification.type === "info" && } - {notification.message} - +
+ {/* Sidebar */} +
+
+

Dossiers

+

Gérez vos dossiers 4NK

)} @@ -1447,6 +1435,28 @@ export default function FoldersPage() { /> )} + {/* Notification */} + {notification && ( +
+
+
+ {notification.message} + +
+
+
+ )} + {/* 4NK Iframe - only show when connected */} {isConnected &&