Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbf59c7c

Browse files
fix: add notifications back to desktop (#17021)
The notifications were removed on [this PR](#17008 accident.
1 parent4960a1e commitbf59c7c

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+
thrownewError("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)

[8]ページ先頭

©2009-2025 Movatter.jp