mirror of
https://github.com/nasa/openmct.git
synced 2025-02-07 11:30:28 +00:00
do not return null unsubscribe function (#2335)
This commit is contained in:
parent
72fc8a24a5
commit
994f6be535
@ -137,8 +137,7 @@ define([
|
|||||||
function callbackWrapper(series) {
|
function callbackWrapper(series) {
|
||||||
callback(createDatum(domainObject, metadata, series, series.getPointCount() - 1));
|
callback(createDatum(domainObject, metadata, series, series.getPointCount() - 1));
|
||||||
}
|
}
|
||||||
|
return capability.subscribe(callbackWrapper, request) || function () {};
|
||||||
return capability.subscribe(callbackWrapper, request);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
LegacyTelemetryProvider.prototype.supportsLimits = function (domainObject) {
|
LegacyTelemetryProvider.prototype.supportsLimits = function (domainObject) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user