clears notif number from title when marking as read

This commit is contained in:
hakui 2017-02-18 17:33:00 -06:00
parent 6dbdd322aa
commit 14237cff77

View file

@ -26,6 +26,7 @@ const Notifications = {
watch: { watch: {
unseenCount (count) { unseenCount (count) {
this.$store.dispatch('setPageTitle', `(${count})`) this.$store.dispatch('setPageTitle', `(${count})`)
if (count==0) this.$store.dispatch('setPageTitle', '')
} }
}, },
methods: { methods: {