diff options
| author | Henry Jameson <me@hjkos.com> | 2023-11-19 17:02:46 +0200 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2023-11-19 17:02:46 +0200 |
| commit | c0e2ba37c828dc5d34cbdb366f48b721e645f5b5 (patch) | |
| tree | e7ffec6261a159d34447f855bf15be057ac28fda /src/components/mobile_nav | |
| parent | 072a06fc89844a5ed2f557634b7e04c1ef63041d (diff) | |
changelog, small fix
Diffstat (limited to 'src/components/mobile_nav')
| -rw-r--r-- | src/components/mobile_nav/mobile_nav.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/components/mobile_nav/mobile_nav.js b/src/components/mobile_nav/mobile_nav.js index 6f4e35e5..0cd67990 100644 --- a/src/components/mobile_nav/mobile_nav.js +++ b/src/components/mobile_nav/mobile_nav.js @@ -86,7 +86,7 @@ const MobileNav = { // make sure to mark notifs seen only when the notifs were open and not // from close-calls. this.notificationsOpen = false - if (markRead) { + if (markRead && this.closingDrawerMarksAsSeen) { this.markNotificationsAsSeen() } } @@ -122,7 +122,6 @@ const MobileNav = { this.hideConfirmLogout() }, markNotificationsAsSeen () { - // this.$refs.notifications.markAsSeen() this.$store.dispatch('markNotificationsAsSeen') }, onScroll ({ target: { scrollTop, clientHeight, scrollHeight } }) { |
