Skip to content

Commit bf59c7c

Browse files
fix: add notifications back to desktop (#17021)
The notifications were removed on [this PR ](#17008 accident.
1 parent 4960a1e commit bf59c7c

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

site/src/modules/dashboard/Navbar/NavbarView.tsx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,18 @@ export const NavbarView: FC<NavbarViewProps> = ({
6767
canViewHealth={canViewHealth}
6868
/>
6969

70+
<NotificationsInbox
71+
fetchNotifications={API.getInboxNotifications}
72+
markAllAsRead={() => {
73+
throw new Error("Function not implemented.");
74+
}}
75+
markNotificationAsRead={(notificationId) =>
76+
API.updateInboxNotificationReadStatus(notificationId, {
77+
is_read: true,
78+
})
79+
}
80+
/>
81+
7082
{user && (
7183
<UserDropdown
7284
user={user}

0 commit comments

Comments
 (0)
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