From 14237cff777acee47cf060aa81823b0dc25f3afa Mon Sep 17 00:00:00 2001 From: hakui Date: Sat, 18 Feb 2017 17:33:00 -0600 Subject: [PATCH] clears notif number from title when marking as read --- src/components/notifications/notifications.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/notifications/notifications.js b/src/components/notifications/notifications.js index 7dbbf588a7..3f9fe3b4be 100644 --- a/src/components/notifications/notifications.js +++ b/src/components/notifications/notifications.js @@ -26,6 +26,7 @@ const Notifications = { watch: { unseenCount (count) { this.$store.dispatch('setPageTitle', `(${count})`) + if (count==0) this.$store.dispatch('setPageTitle', '') } }, methods: {