From 3ab6e3921d1672fc36b27d9665c5a6d369eefa4e Mon Sep 17 00:00:00 2001 From: BrunoQuaresma Date: Fri, 21 Mar 2025 16:55:48 +0000 Subject: [PATCH] fix: fix double ws connection for notifications --- .../modules/dashboard/Navbar/NavbarView.tsx | 64 +++++++++---------- 1 file changed, 30 insertions(+), 34 deletions(-) diff --git a/site/src/modules/dashboard/Navbar/NavbarView.tsx b/site/src/modules/dashboard/Navbar/NavbarView.tsx index 40f9b0ad3a70b..204828c2fd8ac 100644 --- a/site/src/modules/dashboard/Navbar/NavbarView.tsx +++ b/site/src/modules/dashboard/Navbar/NavbarView.tsx @@ -55,17 +55,21 @@ export const NavbarView: FC = ({ -
+
{proxyContextValue && ( - +
+ +
)} - +
+ +
= ({ /> {user && ( - + +
+ )} + +
+ - )} -
- -
- - API.updateInboxNotificationReadStatus(notificationId, { - is_read: true, - }) - } - /> - - +
); pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy