forked from AkkomaGang/akkoma-fe
Follow style guide (https://github.com/feross/standard)
This commit is contained in:
parent
af91346328
commit
df3ffdd905
1 changed files with 5 additions and 2 deletions
|
@ -25,8 +25,11 @@ const Notifications = {
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
unseenCount (count) {
|
unseenCount (count) {
|
||||||
if (count>0) this.$store.dispatch('setPageTitle', `(${count})`)
|
if (count > 0) {
|
||||||
else this.$store.dispatch('setPageTitle', '')
|
this.$store.dispatch('setPageTitle', `(${count})`)
|
||||||
|
} else {
|
||||||
|
this.$store.dispatch('setPageTitle', '')
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
Loading…
Reference in a new issue