diff options
Diffstat (limited to 'src/components/notifications/notifications.js')
| -rw-r--r-- | src/components/notifications/notifications.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/notifications/notifications.js b/src/components/notifications/notifications.js index 3f9fe3b4..e872a2e5 100644 --- a/src/components/notifications/notifications.js +++ b/src/components/notifications/notifications.js @@ -25,8 +25,8 @@ const Notifications = { }, watch: { unseenCount (count) { - this.$store.dispatch('setPageTitle', `(${count})`) - if (count==0) this.$store.dispatch('setPageTitle', '') + if (count>0) this.$store.dispatch('setPageTitle', `(${count})`) + else this.$store.dispatch('setPageTitle', '') } }, methods: { |
