This commit is contained in:
nymkappa 2024-04-23 17:54:04 +02:00
parent 31c008afa5
commit ed9f792d21
No known key found for this signature in database
GPG key ID: 92358FC85D9645DE

View file

@ -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(); });
}
}