From: Takeshi Umeda Date: Tue, 29 Sep 2020 13:30:56 +0000 (+0900) Subject: Fix unread notification markers (#14897) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=f5d08f2417a55501affc0c42108f1c14d47cbb99;p=mastodon.git Fix unread notification markers (#14897) --- diff --git a/app/javascript/mastodon/actions/notifications.js b/app/javascript/mastodon/actions/notifications.js index 552def63b..cd03a1d78 100644 --- a/app/javascript/mastodon/actions/notifications.js +++ b/app/javascript/mastodon/actions/notifications.js @@ -234,3 +234,7 @@ export const mountNotifications = () => ({ export const unmountNotifications = () => ({ type: NOTIFICATIONS_UNMOUNT, }); + +export const markNotificationsAsRead = () => ({ + type: NOTIFICATIONS_MARK_AS_READ, +});