diff options
author | Takeshi Umeda <noel.yoshiba@gmail.com> | 2020-09-29 22:30:56 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-29 15:30:56 +0200 |
commit | f5d08f2417a55501affc0c42108f1c14d47cbb99 (patch) | |
tree | 6ea2697ad9878a0a65e01cc3ff41d700206ed911 /app/javascript | |
parent | 0e41710ea99715858867616620c5307dc49002f5 (diff) |
Fix unread notification markers (#14897)
Diffstat (limited to 'app/javascript')
-rw-r--r-- | app/javascript/mastodon/actions/notifications.js | 4 |
1 files changed, 4 insertions, 0 deletions
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, +}); |