mirror of
https://akkoma.dev/AkkomaGang/akkoma-fe.git
synced 2024-11-13 20:14:42 +00:00
Merge branch 'clearnotifs' into develop
This commit is contained in:
commit
73f46bfba6
1 changed files with 5 additions and 1 deletions
|
@ -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: {
|
||||||
|
|
Loading…
Reference in a new issue