From 7727a90ae1c2254c66b2de07aad06e7ae304a828 Mon Sep 17 00:00:00 2001 From: Khalid Adil Date: Mon, 30 Sep 2024 19:12:42 -0500 Subject: [PATCH] Cleanup --- src/plugins/condition/historicalTelemetryProvider.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/condition/historicalTelemetryProvider.js b/src/plugins/condition/historicalTelemetryProvider.js index 78cb79fce0..5913db10c1 100644 --- a/src/plugins/condition/historicalTelemetryProvider.js +++ b/src/plugins/condition/historicalTelemetryProvider.js @@ -193,7 +193,7 @@ export default class HistoricalTelemetryProvider { const conditionDetails = conditionCollectionMap.get(id); const { isDefault } = conditionDetails; const conditionConfiguration = conditionDetails?.configuration; - const { outputTelemetry, outputMetadata, output } = conditionConfiguration; + const { output } = conditionConfiguration; if (isDefault) { const conditionOutput = { condition, @@ -269,7 +269,7 @@ export default class HistoricalTelemetryProvider { const outputTelemetryList = []; const domainObject = this.conditionSetDomainObject; outputTelemetryMap.forEach((outputMetadata, timestamp) => { - const { condition, telemetry, value, result, isDefault } = outputMetadata; + const { condition, value, result, isDefault } = outputMetadata; outputTelemetryList.push({ conditionId: condition.id, id: domainObject.identifier,