Skip to content

Commit

Permalink
fix(blackbox): read blackbox values from tazendra and mangolassi
Browse files Browse the repository at this point in the history
  • Loading branch information
valearna committed Feb 3, 2021
1 parent e88f7f7 commit 7bcf56e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/frontend/feedback_form/src/AFPValues.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,8 @@ export function getCheckbxOrSingleFieldFromWBAPIData(afpString, svmString) {
} else {
return new CheckboxWithDetails(false, "", true);
}
} else if (svmString !== undefined && svmString !== null && svmString.svm !== null &&
svmString.svm !== undefined && (svmString.svm === "high" || svmString.svm === "medium")) {
} else if (svmString !== undefined && svmString !== null && svmString.blackbox !== null &&
svmString.blackbox !== undefined && (svmString.blackbox.toUpperCase() === "HIGH" || svmString.blackbox.toUpperCase() === "MEDIUM")) {
return new CheckboxWithDetails(true, "", false);
} else {
return new CheckboxWithDetails(false, "", false);
Expand Down

0 comments on commit 7bcf56e

Please sign in to comment.