From d543087bc65f25fba3f38f46196fca3f27ba4bfc Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Mon, 29 Apr 2019 20:58:36 -0600 Subject: [PATCH] Update NotificationCard.vue --- resources/assets/js/components/NotificationCard.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/resources/assets/js/components/NotificationCard.vue b/resources/assets/js/components/NotificationCard.vue index 9c437bc8f..b5894f38d 100644 --- a/resources/assets/js/components/NotificationCard.vue +++ b/resources/assets/js/components/NotificationCard.vue @@ -70,7 +70,9 @@ }, mounted() { - this.fetchNotifications(); + if(window.outerWidth > 767) { + this.fetchNotifications(); + } }, updated() {