From 23aefccbe98d71ad45a5576c24f5f45ab309ce30 Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Tue, 4 Aug 2020 11:21:16 +0900 Subject: [PATCH] Construct websocket uri for notification client side --- .../NotificationsNavItem.cshtml | 20 ++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/BTCPayServer/Views/Shared/LayoutPartials/NotificationsNavItem.cshtml b/BTCPayServer/Views/Shared/LayoutPartials/NotificationsNavItem.cshtml index 3d005c68b..b4c1a78ef 100644 --- a/BTCPayServer/Views/Shared/LayoutPartials/NotificationsNavItem.cshtml +++ b/BTCPayServer/Views/Shared/LayoutPartials/NotificationsNavItem.cshtml @@ -1,12 +1,22 @@ -
+@inject LinkGenerator linkGenerator + +
@await Component.InvokeAsync("NotificationsDropdown") -