Преглед на файлове

Update NotificationCard.vue

Daniel Supernault преди 6 години
родител
ревизия
d543087bc6
променени са 1 файла, в които са добавени 3 реда и са изтрити 1 реда
  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() {