diff --git a/src/components/notifications/notifications.js b/src/components/notifications/notifications.js index 7dbbf588a71e49a56a7f2bc331e78cea4393e213..d6a6bdb5d7a59abd135f4e36ec0b14626b46a55e 100644 --- a/src/components/notifications/notifications.js +++ b/src/components/notifications/notifications.js @@ -25,7 +25,11 @@ const Notifications = { }, watch: { unseenCount (count) { - this.$store.dispatch('setPageTitle', `(${count})`) + if (count > 0) { + this.$store.dispatch('setPageTitle', `(${count})`) + } else { + this.$store.dispatch('setPageTitle', '') + } } }, methods: {