more telemetry collection changes to acommodate bound changes

This commit is contained in:
Scott Bell 2024-10-03 15:24:48 +02:00
parent 154e8c695d
commit 4bbbd17b61

View File

@ -342,15 +342,15 @@ export default class TelemetryCollection extends EventEmitter {
return;
}
console.debug(
`🫙 Bounds CHANGED for ${this.domainObject.name} are start ${bounds.start} and end ${bounds.end}`
);
let startChanged = this.lastBounds.start !== bounds.start;
let endChanged = this.lastBounds.end !== bounds.end;
this.lastBounds = bounds;
// delete start/end if they are defined in options as we've got new bounds
delete this.options.start;
delete this.options.end;
if (isTick) {
if (this.timeKey === undefined) {
return;