Skip to content

Commit 7bcf56e

Browse files
committed
fix(blackbox): read blackbox values from tazendra and mangolassi
1 parent e88f7f7 commit 7bcf56e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/frontend/feedback_form/src/AFPValues.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,8 @@ export function getCheckbxOrSingleFieldFromWBAPIData(afpString, svmString) {
164164
} else {
165165
return new CheckboxWithDetails(false, "", true);
166166
}
167-
} else if (svmString !== undefined && svmString !== null && svmString.svm !== null &&
168-
svmString.svm !== undefined && (svmString.svm === "high" || svmString.svm === "medium")) {
167+
} else if (svmString !== undefined && svmString !== null && svmString.blackbox !== null &&
168+
svmString.blackbox !== undefined && (svmString.blackbox.toUpperCase() === "HIGH" || svmString.blackbox.toUpperCase() === "MEDIUM")) {
169169
return new CheckboxWithDetails(true, "", false);
170170
} else {
171171
return new CheckboxWithDetails(false, "", false);

0 commit comments

Comments
 (0)