[Imagery] Use LAD query

This commit is contained in:
Pete Richards 2017-06-21 14:21:51 -07:00
parent e6d65f3549
commit bbeb97e93c

View File

@ -76,6 +76,14 @@ define(
.getValueFormatter(metadata.valuesForHints(['image'])[0]);
this.unsubscribe = this.openmct.telemetry
.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));
};