From 551365183eba6f83ba2f1a8f210c1a0b88e22bd7 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sun, 7 Feb 2021 00:12:19 -0700 Subject: [PATCH] Update Hashtag component, fix null infinite loading bug. Fixes #2637 --- resources/assets/js/components/Hashtag.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/assets/js/components/Hashtag.vue b/resources/assets/js/components/Hashtag.vue index 47ff9f36d..0a792998f 100644 --- a/resources/assets/js/components/Hashtag.vue +++ b/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;