Skip to content

Commit 98aa510

Browse files
committed
save working priority bounds
1 parent 256d709 commit 98aa510

8 files changed

Lines changed: 276 additions & 453 deletions

File tree

src/components/AdminPane/Manage/ManageChallenges/EditChallenge/EditChallenge.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -570,15 +570,15 @@ export class EditChallenge extends Component {
570570
delete challengeData.lowPriorityRules;
571571

572572
challengeData.highPriorityBounds = Array.isArray(challengeData.highPriorityBounds)
573-
? validatePriorityBounds(challengeData.highPriorityBounds)
573+
? challengeData.highPriorityBounds
574574
: [];
575575

576576
challengeData.mediumPriorityBounds = Array.isArray(challengeData.mediumPriorityBounds)
577-
? validatePriorityBounds(challengeData.mediumPriorityBounds)
577+
? challengeData.mediumPriorityBounds
578578
: [];
579579

580580
challengeData.lowPriorityBounds = Array.isArray(challengeData.lowPriorityBounds)
581-
? validatePriorityBounds(challengeData.lowPriorityBounds)
581+
? challengeData.lowPriorityBounds
582582
: [];
583583

584584
preparePresetsForSaving(challengeData);

0 commit comments

Comments
 (0)