Follow style guide (https://github.com/feross/standard)
This commit is contained in:
parent
af91346328
commit
df3ffdd905
@ -25,8 +25,11 @@ const Notifications = {
|
||||
},
|
||||
watch: {
|
||||
unseenCount (count) {
|
||||
if (count>0) this.$store.dispatch('setPageTitle', `(${count})`)
|
||||
else this.$store.dispatch('setPageTitle', '')
|
||||
if (count > 0) {
|
||||
this.$store.dispatch('setPageTitle', `(${count})`)
|
||||
} else {
|
||||
this.$store.dispatch('setPageTitle', '')
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
Loading…
Reference in New Issue
Block a user