소스 검색

Update Activity.vue component

Daniel Supernault 6 년 전
부모
커밋
d5b3aac1e7
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  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);