mirror of
https://github.com/nasa/openmct.git
synced 2025-01-27 14:49:28 +00:00
some changes
This commit is contained in:
parent
f718ccdf4e
commit
58d6cdb574
@ -73,10 +73,6 @@ export default class TelemetryCollection extends EventEmitter {
|
|||||||
this.isStrategyLatest = this.options.strategy === 'latest';
|
this.isStrategyLatest = this.options.strategy === 'latest';
|
||||||
this.dataOutsideTimeBounds = false;
|
this.dataOutsideTimeBounds = false;
|
||||||
this.modeChanged = false;
|
this.modeChanged = false;
|
||||||
|
|
||||||
console.debug(
|
|
||||||
`🫙 Created telemetry for ${this.domainObject.name} with bounds ${new Date(options.start).toISOString()} and ${new Date(options.end).toISOString()}`
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -108,9 +108,9 @@ export default class CompsManager extends EventEmitter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async load(telemetryOptions) {
|
async load(telemetryOptions) {
|
||||||
if (!_.isEqual(telemetryOptions, this.#telemetryOptions) && this.#loaded) {
|
if (!_.isEqual(telemetryOptions, this.#telemetryOptions)) {
|
||||||
console.debug(
|
console.debug(
|
||||||
`😩 Reloading comps manager ${this.#domainObject.name} due to telemetry options change. New bounds are: ${new Date(telemetryOptions.start).toISOString()} to ${new Date(telemetryOptions.end).toISOString()}`,
|
`😩 Reloading comps manager ${this.#domainObject.name} due to telemetry options change.`,
|
||||||
telemetryOptions
|
telemetryOptions
|
||||||
);
|
);
|
||||||
this.#destroy();
|
this.#destroy();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user