diff options
| author | hakui <hakui@airmail.cc> | 2017-02-18 17:33:00 -0600 |
|---|---|---|
| committer | hakui <hakui@airmail.cc> | 2017-02-18 17:33:00 -0600 |
| commit | 14237cff777acee47cf060aa81823b0dc25f3afa (patch) | |
| tree | 70f5d6da9e41449843ac17eb7e37279ea23e77ea /src/components/notifications/notifications.js | |
| parent | 6dbdd322aa02c5e4d834decbd394864d36e4e6e6 (diff) | |
clears notif number from title when marking as read
Diffstat (limited to 'src/components/notifications/notifications.js')
| -rw-r--r-- | src/components/notifications/notifications.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/notifications/notifications.js b/src/components/notifications/notifications.js index 7dbbf588..3f9fe3b4 100644 --- a/src/components/notifications/notifications.js +++ b/src/components/notifications/notifications.js @@ -26,6 +26,7 @@ const Notifications = { watch: { unseenCount (count) { this.$store.dispatch('setPageTitle', `(${count})`) + if (count==0) this.$store.dispatch('setPageTitle', '') } }, methods: { |
