Skip to content

Commit 98ac8ca

Browse files
authored
Merge pull request #1701 from topcoder-platform/pm-2609_2
fix(PM-2609): get only active scorecards
2 parents ddf4170 + db32357 commit 98ac8ca

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/components/ChallengeEditor/ChallengeReviewer-Field/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,9 @@ class ChallengeReviewerField extends Component {
329329
loadScorecards () {
330330
const { challenge, loadScorecards } = this.props
331331

332-
const filters = {}
332+
const filters = {
333+
status: 'ACTIVE'
334+
}
333335

334336
// Add challenge track if available
335337
if (challenge.track) {

src/services/challenges.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ export async function updateChallengeSkillsApi (challengeId, skills) {
340340
*/
341341
export async function fetchScorecards (filters = {}) {
342342
const query = {
343-
perPage: 100,
343+
perPage: 200,
344344
page: 1,
345345
...filters
346346
}

0 commit comments

Comments
 (0)