From 9a2db8ebc090247cf2a5fc9572c15df148a4f674 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Fri, 18 Jun 2021 06:18:35 -0600 Subject: [PATCH] Update Activity component, fix comment bug --- resources/assets/js/components/Activity.vue | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/resources/assets/js/components/Activity.vue b/resources/assets/js/components/Activity.vue index b14553328..a5ef1525b 100644 --- a/resources/assets/js/components/Activity.vue +++ b/resources/assets/js/components/Activity.vue @@ -144,6 +144,12 @@ export default { if(n.type == 'share' && !status) { return false; } + if(n.type == 'comment' && !status) { + return false; + } + if(n.type == 'mention' && !status) { + return false; + } return true; }); let ids = res.data.map(n => n.id); @@ -170,6 +176,12 @@ export default { if(n.type == 'share' && !status) { return false; } + if(n.type == 'comment' && !status) { + return false; + } + if(n.type == 'mention' && !status) { + return false; + } if(_.find(this.notifications, {id: n.id})) { return false; }