mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-25 15:55:22 +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 => {
|
||||
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;
|
||||
|
|
Loading…
Reference in a new issue