fix: add notifications back to desktop (#17021)

The notifications were removed on [this PR
](https://github.com/coder/coder/pull/17008)by accident.
This commit is contained in:
Bruno Quaresma
2025-03-20 09:42:08 -03:00
committed by GitHub
parent 4960a1e85a
commit bf59c7ca0f
@@ -67,6 +67,18 @@ export const NavbarView: FC<NavbarViewProps> = ({
canViewHealth={canViewHealth}
/>
<NotificationsInbox
fetchNotifications={API.getInboxNotifications}
markAllAsRead={() => {
throw new Error("Function not implemented.");
}}
markNotificationAsRead={(notificationId) =>
API.updateInboxNotificationReadStatus(notificationId, {
is_read: true,
})
}
/>
{user && (
<UserDropdown
user={user}