From de6eceb98b9a54f40767970644f84dca5cec313e Mon Sep 17 00:00:00 2001 From: Jamie Vigliotta Date: Fri, 24 Jul 2020 11:37:41 -0700 Subject: [PATCH] parsing datum itself rather than specific key of datum, let telemetry api do the work --- src/plugins/imagery/components/ImageryViewLayout.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/imagery/components/ImageryViewLayout.vue b/src/plugins/imagery/components/ImageryViewLayout.vue index e74dbfb7f7..4817fd87cb 100644 --- a/src/plugins/imagery/components/ImageryViewLayout.vue +++ b/src/plugins/imagery/components/ImageryViewLayout.vue @@ -228,8 +228,8 @@ export default { subscribe() { this.unsubscribe = this.openmct.telemetry .subscribe(this.domainObject, (datum) => { - let parsedTimestamp = this.timeFormat.parse(datum[this.timeKey]), - bounds = this.openmct.time.bounds(); + let parsedTimestamp = this.timeFormat.parse(datum); + let bounds = this.openmct.time.bounds(); if(parsedTimestamp >= bounds.start && parsedTimestamp <= bounds.end) { this.updateHistory(datum);