Skip to content

Commit

Permalink
#1060 | Fix build break
Browse files Browse the repository at this point in the history
  • Loading branch information
himeshr committed Nov 4, 2024
1 parent 2a27821 commit ddb3590
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/formDesigner/views/CreateEditConcept.js
Original file line number Diff line number Diff line change
Expand Up @@ -247,11 +247,11 @@ class CreateEditConcept extends Component {
};

removeDuplicateVoidedAnswers(answers, index, answerName) {
remove(answers, (answer, idx) => idx != index && answer.voided && answer.name === answerName);
remove(answers, (answer, idx) => idx !== index && answer.voided && answer.name === answerName);
}

removeDuplicateNonVoidedAnswers(answers, index, answerName) {
remove(answers, (answer, idx) => idx != index && !answer.voided && answer.name === answerName);
remove(answers, (answer, idx) => idx !== index && !answer.voided && answer.name === answerName);
}

onMoveUp = index => {
Expand Down

0 comments on commit ddb3590

Please sign in to comment.