diff --git a/webapp/components/notifications/NotificationMenu/NotificationMenu.vue b/webapp/components/notifications/NotificationMenu/NotificationMenu.vue index eecbbcd68..f96bd9e73 100644 --- a/webapp/components/notifications/NotificationMenu/NotificationMenu.vue +++ b/webapp/components/notifications/NotificationMenu/NotificationMenu.vue @@ -14,10 +14,8 @@ primary icon="bell" @click.prevent=" - () => { - toggleMenu() - updateNotifications() - } + toggleMenu() + updateNotifications() " > {{ unreadNotifications }} @@ -65,7 +63,7 @@ export default { } = await this.$apollo.mutate({ mutation: notificationQuery(this.$i18n), }) - // add all the new notifications to the notifications + // add all the new notifications to the old notifications at top of the list if (notifications) { notifications.forEach(udatedListNotification => { const sameNotification = this.notifications.find(function(oldListNotification) { @@ -115,9 +113,6 @@ export default { } return countUnread }, - clickMenuButton() { - toggleMenu() - }, }, apollo: { notifications: {