Skip to content

Commit bfcdf45

Browse files
committed
fix: add notifications back to desktop
1 parent d8d4b9b commit bfcdf45

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

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

+12
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)