mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-26 08:13:16 +00:00
Update Hashtag component, fix null infinite loading bug. Fixes #2637
This commit is contained in:
parent
12ce76026f
commit
551365183e
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue