diff options
| author | Henry Jameson <me@hjkos.com> | 2022-04-05 19:22:15 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2022-04-05 19:22:15 +0300 |
| commit | 6a319154d94c51f0464e0de31c6f88fbe20defea (patch) | |
| tree | ffded435e5696dec749671d16af56cecbda1b001 /src/components/mobile_nav/mobile_nav.js | |
| parent | 4a068483ed9b1334780402cbe64dfa3f4a0e8a3a (diff) | |
teleport bread
Diffstat (limited to 'src/components/mobile_nav/mobile_nav.js')
| -rw-r--r-- | src/components/mobile_nav/mobile_nav.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/mobile_nav/mobile_nav.js b/src/components/mobile_nav/mobile_nav.js index 9e736cfb..877d52a9 100644 --- a/src/components/mobile_nav/mobile_nav.js +++ b/src/components/mobile_nav/mobile_nav.js @@ -78,7 +78,8 @@ const MobileNav = { this.$store.dispatch('logout') }, markNotificationsAsSeen () { - this.$refs.notifications.markAsSeen() + // this.$refs.notifications.markAsSeen() + this.$store.dispatch('markNotificationsAsSeen') }, onScroll ({ target: { scrollTop, clientHeight, scrollHeight } }) { if (scrollTop + clientHeight >= scrollHeight) { |
