forked from AkkomaGang/akkoma-fe
clears notif number from title when marking as read
This commit is contained in:
parent
6dbdd322aa
commit
14237cff77
1 changed files with 1 additions and 0 deletions
|
@ -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: {
|
||||||
|
|
Loading…
Reference in a new issue