Content-Length: 279279 | pFad | http://github.com/coder/coder/commit/bf59c7ca0f832252c2842064c06a7c8fc38f5427

A4 fix: add notifications back to desktop (#17021) · coder/coder@bf59c7c · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/coder/coder/commit/bf59c7ca0f832252c2842064c06a7c8fc38f5427

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy