This commit is contained in:
Roger Braun 2017-02-19 12:19:47 +01:00
parent af91346328
commit df3ffdd905

View File

@ -25,8 +25,11 @@ const Notifications = {
},
watch: {
unseenCount (count) {
if (count>0) this.$store.dispatch('setPageTitle', `(${count})`)
else this.$store.dispatch('setPageTitle', '')
if (count > 0) {
this.$store.dispatch('setPageTitle', `(${count})`)
} else {
this.$store.dispatch('setPageTitle', '')
}
}
},
methods: {