From 176ffd6917b203c540c6f34737df8733d854874b Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Mon, 3 Jun 2019 15:09:47 -0600 Subject: [PATCH] Update Activity.vue --- resources/assets/js/components/Activity.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/assets/js/components/Activity.vue b/resources/assets/js/components/Activity.vue index 9658dde1a..0975804f6 100644 --- a/resources/assets/js/components/Activity.vue +++ b/resources/assets/js/components/Activity.vue @@ -139,7 +139,7 @@ export default { page: this.notificationCursor } }).then(res => { - if(res.data.length > 0) { + if(res.data.length) { let data = res.data.filter(n => { if(n.type == 'share' && !status) { return false;