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

This commit is contained in:
Daniel Supernault 2021-02-07 00:12:19 -07:00
parent 12ce76026f
commit 551365183e
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

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