diff --git a/frontend/src/app/components/rbf-timeline/rbf-timeline.component.ts b/frontend/src/app/components/rbf-timeline/rbf-timeline.component.ts index 21a6d1ede..83654a137 100644 --- a/frontend/src/app/components/rbf-timeline/rbf-timeline.component.ts +++ b/frontend/src/app/components/rbf-timeline/rbf-timeline.component.ts @@ -51,7 +51,7 @@ export class RbfTimelineComponent implements OnInit, OnChanges { ngOnChanges(changes): void { this.rows = this.buildTimelines(this.replacements); - if (changes.txid &&!changes.txid.firstChange && changes.txid.previousVaue !== changes.txid.currentValue) { + if (changes.txid && !changes.txid.firstChange && changes.txid.previousValue !== changes.txid.currentValue) { setTimeout(() => { this.scrollToSelected(); }); } }