Skip to content

Commit fc86b83

Browse files
Merge pull request #5122 from topcoder-platform/issue-5081-gets0ul
fix: #5081 hide view more button when result is less than 10
2 parents bf4c5f8 + 1605740 commit fc86b83

File tree

1 file changed

+1
-1
lines changed
  • src/shared/components/challenge-listing/Listing/Bucket

1 file changed

+1
-1
lines changed

src/shared/components/challenge-listing/Listing/Bucket/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ export default function Bucket({
184184
{placeholders}
185185
{
186186
// (expandable || loadMore) && (expandable || !keepPlaceholders) && !loading && !expanded ? (
187-
(expanding || expandable || loadMore) && !loading && !expanded ? (
187+
(expanding || expandable) && !loading && !expanded && loadMore ? (
188188
<a
189189
// href={`${challengesUrl}?${bucketQuery}`}
190190
href={`${challengesUrl}`}

0 commit comments

Comments
 (0)