소스 검색

Update Hashtag component, fix null infinite loading bug. Fixes #2637

Daniel Supernault 4 년 전
부모
커밋
551365183e
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      resources/assets/js/components/Hashtag.vue

+ 2 - 2
resources/assets/js/components/Hashtag.vue

@@ -168,7 +168,7 @@
 				}).then(res => {
 					let data = res.data;
 					let tags = data.tags.filter(n => {
-						if(!n || n.length == 0) {
+						if(!n || n.length == 0 || n.status == null) {
 							return false;
 						}
 						return true;
@@ -195,7 +195,7 @@
 					let data = res.data;
 					if(data.tags.length) {
 						let tags = data.tags.filter(n => {
-							if(!n || n.length == 0) {
+							if(!n || n.length == 0 || n.status == null) {
 								return false;
 							}
 							return true;