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
1 changed files with 2 additions and 2 deletions

View File

@ -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;