Merge branch 'clearnotifs' into develop

This commit is contained in:
Roger Braun 2017-02-19 12:28:36 +01:00
commit 73f46bfba6

View File

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