diff --git a/webapp/components/NotificationMenu/NotificationMenu.vue b/webapp/components/NotificationMenu/NotificationMenu.vue
index 7fcfabe82..ceac606b0 100644
--- a/webapp/components/NotificationMenu/NotificationMenu.vue
+++ b/webapp/components/NotificationMenu/NotificationMenu.vue
@@ -12,7 +12,7 @@
-
+
@@ -25,7 +25,7 @@
-
+
{{ $t('notifications.markAllAsRead') }}
@@ -74,11 +74,12 @@ export default {
this.$toast.error(error.message)
}
},
- async markAllAsRead() {
+ async markAllAsRead(closeMenu) {
if (!this.hasNotifications) {
return
}
+ closeMenu()
try {
await this.$apollo.mutate({
mutation: markAllAsReadMutation(this.$i18n),