Skip to content

Commit

Permalink
Update Hashtag component, fix null infinite loading bug. Fixes #2637
Browse files Browse the repository at this point in the history
  • Loading branch information
dansup committed Feb 7, 2021
1 parent 12ce760 commit 5513651
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/assets/js/components/Hashtag.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down

0 comments on commit 5513651

Please sign in to comment.