Bläddra i källkod

Update Activity.vue component

Daniel Supernault 6 år sedan
förälder
incheckning
d5b3aac1e7
1 ändrade filer med 3 tillägg och 0 borttagningar
  1. 3 0
      resources/assets/js/components/Activity.vue

+ 3 - 0
resources/assets/js/components/Activity.vue

@@ -146,6 +146,9 @@ export default {
 						if(n.type == 'share' && !status) {
 							return false;
 						}
+						if(_.find(this.notifications, {id: n.id})) {
+							return false;
+						}
 						return true;
 					});
 					this.notifications.push(...data);