From 1cefa0c1d347712c2b67b5a9ba5511d47ae4aa0e Mon Sep 17 00:00:00 2001 From: Vincent Baaij Date: Thu, 29 Jan 2026 09:35:47 +0100 Subject: [PATCH] - Do not show dismiss link whne there are no notifications - Do not redirect to homepage whne dismiss link is clicked --- .../Demo/Shared/Components/NotificationCenterPanel.razor | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/examples/Demo/Shared/Components/NotificationCenterPanel.razor b/examples/Demo/Shared/Components/NotificationCenterPanel.razor index ff645e0788..f1fa02d83f 100644 --- a/examples/Demo/Shared/Components/NotificationCenterPanel.razor +++ b/examples/Demo/Shared/Components/NotificationCenterPanel.razor @@ -5,9 +5,12 @@ - - Dismiss all - + @if (MessageService.Count(App.MESSAGES_NOTIFICATION_CENTER) > 0) + { + + Dismiss all + + }