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
1 changed files with 1 additions and 0 deletions

View File

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