Răsfoiți Sursa

Update NotificationCard.vue

Daniel Supernault 6 ani în urmă
părinte
comite
d543087bc6
1 a modificat fișierele cu 3 adăugiri și 1 ștergeri
  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() {