This commit is contained in:
Khalid Adil 2024-09-30 19:12:42 -05:00
parent b97555445e
commit 7727a90ae1

View File

@ -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,