mirror of
https://github.com/nasa/openmct.git
synced 2025-06-19 23:53:49 +00:00
[Limits] Show limits from scrolling list view
WTD-1223.
This commit is contained in:
@ -58,13 +58,11 @@ define(
|
||||
var range = rangeMetadata.key,
|
||||
limit = domainObject.getCapability('limit'),
|
||||
value = data.getRangeValue(index, range),
|
||||
cell = telemetryFormatter.formatRangeValue(value);
|
||||
alarm = limit.evaluate(value, range);
|
||||
|
||||
return {
|
||||
cssClass: limit && limit.evaluate(value, range),
|
||||
toString: function () {
|
||||
return cell;
|
||||
}
|
||||
cssClass: alarm && alarm.cssClass,
|
||||
text: telemetryFormatter.formatRangeValue(value)
|
||||
};
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user