[Imagery] Use LAD query
This commit is contained in:
@@ -76,6 +76,14 @@ define(
|
|||||||
.getValueFormatter(metadata.valuesForHints(['image'])[0]);
|
.getValueFormatter(metadata.valuesForHints(['image'])[0]);
|
||||||
this.unsubscribe = this.openmct.telemetry
|
this.unsubscribe = this.openmct.telemetry
|
||||||
.subscribe(this.domainObject, this.updateValues);
|
.subscribe(this.domainObject, this.updateValues);
|
||||||
|
this.openmct.telemetry
|
||||||
|
.request(this.domainObject, {
|
||||||
|
strategy: 'latest',
|
||||||
|
size: 1
|
||||||
|
})
|
||||||
|
.then(function (values) {
|
||||||
|
this.updateValues(values[0]);
|
||||||
|
}.bind(this));
|
||||||
}.bind(this));
|
}.bind(this));
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user