1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-23 08:14:10 +00:00

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 => {
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;