Skip to content
Snippets Groups Projects
Commit 73f46bfb authored by lain's avatar lain
Browse files

Merge branch 'clearnotifs' into develop

parents 8fb0ec98 df3ffdd9
No related branches found
No related tags found
No related merge requests found
......@@ -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: {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment