Browse Source

Update NotificationCard.vue

Daniel Supernault 6 năm trước cách đây
mục cha
commit
d543087bc6
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  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() {