mirror of
https://github.com/nasa/openmct.git
synced 2025-02-25 19:11:35 +00:00
good job code scanner. changing to or condition
This commit is contained in:
parent
dd57d78c4f
commit
8b4eed938a
@ -71,7 +71,7 @@ function calculate(dataFrame, parameters, expression) {
|
||||
otherParameters.forEach((parameter) => {
|
||||
const otherDataFrame = dataFrame[parameter.keyString];
|
||||
const otherTelemetry = otherDataFrame.get(referenceTime);
|
||||
if (otherTelemetry === undefined && otherTelemetry === null) {
|
||||
if (otherTelemetry === undefined || otherTelemetry === null) {
|
||||
missingData = true;
|
||||
return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user