Explorar o código

Update NotificationCard.vue

Daniel Supernault %!s(int64=6) %!d(string=hai) anos
pai
achega
d543087bc6
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      resources/assets/js/components/NotificationCard.vue

+ 3 - 1
resources/assets/js/components/NotificationCard.vue

@@ -70,7 +70,9 @@
 		},
 
 		mounted() {
-			this.fetchNotifications();
+			if(window.outerWidth > 767) {
+				this.fetchNotifications();
+			}
 		},
 
 		updated() {