From 6ca6a4cd008b13de1a6766d078e3d7f8ed0d5fac Mon Sep 17 00:00:00 2001 From: Scott Bell Date: Thu, 17 Oct 2024 16:34:42 +0200 Subject: [PATCH] revert size checking --- src/plugins/condition/HistoricalTelemetryProvider.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/plugins/condition/HistoricalTelemetryProvider.js b/src/plugins/condition/HistoricalTelemetryProvider.js index 8b41ae0f15..cc03887d57 100644 --- a/src/plugins/condition/HistoricalTelemetryProvider.js +++ b/src/plugins/condition/HistoricalTelemetryProvider.js @@ -110,11 +110,12 @@ export default class HistoricalTelemetryProvider { async #loadTelemetryCollections() { await Promise.all( Object.entries(this.#telemetryObjects).map(async ([keystring, telemetryObject]) => { - // delete size as we need to scan the whole time bounds - delete this.#telemetryOptions.size; + // clone telemetry options without size as we need to load all data + const telemetryOptionsWithoutSize = { ...this.#telemetryOptions }; + delete telemetryOptionsWithoutSize.size; const telemetryCollection = this.#openmct.telemetry.requestCollection( telemetryObject, - this.#telemetryOptions + telemetryOptionsWithoutSize ); await telemetryCollection.load(); this.#telemetryCollections[keystring] = telemetryCollection;