Skip to content

Commit

Permalink
change a bug
Browse files Browse the repository at this point in the history
  • Loading branch information
lindaxiang committed Jul 19, 2024
1 parent 0feacbf commit 46d0bc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion references/validationFunctions/radiation/radiationBoost.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const validation = () =>
result = {valid: false, message: `${$name} cannot be provided if the 'radiation_boost' field is '${radiationBoost}'.`}
}
}
else if (($row.radiation_boost === null) && (currField)) {
else if ((!$row.radiation_boost) && (currField)) {
result = {valid: false, message: `'${$name}' requires the 'radiation_boost' field.` }
}
return result;
Expand Down

0 comments on commit 46d0bc5

Please sign in to comment.