mirror of
https://github.com/nasa/openmct.git
synced 2025-04-19 16:40:58 +00:00
should be waiting for historical data
This commit is contained in:
parent
d4736ead45
commit
958e5ce09a
@ -323,7 +323,7 @@ export default class ConditionManager extends EventEmitter {
|
||||
return currentCondition;
|
||||
}
|
||||
|
||||
getHistoricalData(options) {
|
||||
async getHistoricalData(options) {
|
||||
if (!this.conditionSetDomainObject.configuration.shouldFetchHistorical) {
|
||||
return [];
|
||||
}
|
||||
@ -333,7 +333,7 @@ export default class ConditionManager extends EventEmitter {
|
||||
this.conditionSetDomainObject,
|
||||
options
|
||||
);
|
||||
const historicalData = historicalTelemetry.getHistoricalData();
|
||||
const historicalData = await historicalTelemetry.getHistoricalData();
|
||||
return historicalData;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user