about summary refs log tree commit diff
path: root/app/javascript/mastodon/actions/notifications.js
diff options
context:
space:
mode:
authorTakeshi Umeda <noel.yoshiba@gmail.com>2020-09-29 22:30:56 +0900
committerGitHub <noreply@github.com>2020-09-29 15:30:56 +0200
commitf5d08f2417a55501affc0c42108f1c14d47cbb99 (patch)
tree6ea2697ad9878a0a65e01cc3ff41d700206ed911 /app/javascript/mastodon/actions/notifications.js
parent0e41710ea99715858867616620c5307dc49002f5 (diff)
Fix unread notification markers (#14897)
Diffstat (limited to 'app/javascript/mastodon/actions/notifications.js')
-rw-r--r--app/javascript/mastodon/actions/notifications.js4
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,
+});