File tree 2 files changed +4
-4
lines changed
src/shared/components/challenge-listing/Listing
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -184,7 +184,7 @@ export default function Bucket({
184
184
{ placeholders }
185
185
{
186
186
// (expandable || loadMore) && (expandable || !keepPlaceholders) && !loading && !expanded ? (
187
- ( expanding || expandable ) && ! loading && ! expanded && loadMore ? (
187
+ ( expanding || expandable ) && ! loading && loadMore && ( expandable ? expanded : ! expanded ) ? (
188
188
< a
189
189
// href={`${challengesUrl}?${bucketQuery}`}
190
190
href = { `${ challengesUrl } ` }
Original file line number Diff line number Diff line change @@ -182,8 +182,7 @@ function Listing({
182
182
) ;
183
183
} ;
184
184
185
- if ( ! expanding && ( activeBucket !== BUCKETS . ALL )
186
- && ( activeBucket !== BUCKETS . SAVED_FILTER ) ) {
185
+ if ( ( activeBucket !== BUCKETS . SAVED_FILTER ) ) {
187
186
return (
188
187
< div styleName = "challengeCardContainer" >
189
188
{ getBucket ( activeBucket , true ) }
@@ -207,7 +206,8 @@ function Listing({
207
206
// }
208
207
const loading = loadingMyChallenges
209
208
|| loadingOpenForRegistrationChallenges
210
- || loadingOnGoingChallenges ;
209
+ || loadingOnGoingChallenges
210
+ || loadingAllChallenges ;
211
211
const placeholders = [ ] ;
212
212
if ( challenges . length > 0 || ( activeBucket === BUCKETS . ALL && allChallenges . length > 0 ) ) {
213
213
return (
You can’t perform that action at this time.
0 commit comments