Skip to content

Commit 52d9250

Browse files
Merge pull request #5074 from topcoder-platform/issue-5073
Hide onGoing bucket
2 parents 3c9ceeb + 47d327d commit 52d9250

File tree

2 files changed

+7
-2
lines changed
  • src/shared
    • components/challenge-listing/Sidebar/BucketSelector
    • containers/challenge-listing/Listing

2 files changed

+7
-2
lines changed

src/shared/components/challenge-listing/Sidebar/BucketSelector/index.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ export default function BucketSelector({
8383
{isAuth ? getBucket(BUCKETS.MY) : null}
8484
{/* {extraBucket ? getBucket(extraBucket) : null} */}
8585
{getBucket(BUCKETS.OPEN_FOR_REGISTRATION)}
86-
{getBucket(BUCKETS.ONGOING)}
86+
{/* DISABLED: Until api receive fix community-app#5073 */}
87+
{/* {getBucket(BUCKETS.ONGOING)} */}
8788
<hr />
8889
{getBucket(BUCKETS.REVIEW_OPPORTUNITIES)}
8990
{/* {getBucket(BUCKETS.PAST)} */}

src/shared/containers/challenge-listing/Listing/index.jsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,8 @@ export class ListingContainer extends React.Component {
242242
loadChallenges() {
243243
const {
244244
auth,
245-
getActiveChallenges,
245+
// DISABLED: Until api receive fix community-app#5073
246+
// getActiveChallenges,
246247
getOpenForRegistrationChallenges,
247248
getMyChallenges,
248249
getAllChallenges,
@@ -261,12 +262,15 @@ export class ListingContainer extends React.Component {
261262
auth.tokenV3,
262263
f.front,
263264
);
265+
// DISABLED: Until api receive fix community-app#5073
266+
/*
264267
getActiveChallenges(
265268
0,
266269
f.back,
267270
auth.tokenV3,
268271
f.front,
269272
);
273+
*/
270274
getOpenForRegistrationChallenges(
271275
0,
272276
f.back,

0 commit comments

Comments
 (0)