From 0a86d39ba9cf48fc0b4fb6d91b0d5eff404b2a66 Mon Sep 17 00:00:00 2001 From: shpuld Date: Thu, 14 Mar 2019 20:40:56 +0200 Subject: remove notifications from sidebar, make notifications appear on login only --- src/components/mobile_nav/mobile_nav.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/components/mobile_nav/mobile_nav.js') diff --git a/src/components/mobile_nav/mobile_nav.js b/src/components/mobile_nav/mobile_nav.js index 88fab656..fd373ac1 100644 --- a/src/components/mobile_nav/mobile_nav.js +++ b/src/components/mobile_nav/mobile_nav.js @@ -13,6 +13,9 @@ const MobileNav = { notificationsOpen: false }), computed: { + currentUser () { + return this.$store.state.users.currentUser + }, unseenNotifications () { return unseenNotificationsFromStore(this.$store) }, -- cgit v1.2.3-70-g09d2