@@ -479,7 +479,7 @@
Fee rate |
{{ tx.feePerVsize | feeRounding }} sat/vB
-
+
@@ -490,7 +490,7 @@
{{ tx.effectiveFeePerVsize | feeRounding }} sat/vB
-
+
diff --git a/frontend/src/app/components/transaction/transaction.component.ts b/frontend/src/app/components/transaction/transaction.component.ts
index bd6db8634..ed3c84439 100644
--- a/frontend/src/app/components/transaction/transaction.component.ts
+++ b/frontend/src/app/components/transaction/transaction.component.ts
@@ -540,9 +540,13 @@ export class TransactionComponent implements OnInit, AfterViewInit, OnDestroy {
@HostListener('window:resize', ['$event'])
setGraphSize(): void {
this.isMobile = window.innerWidth < 850;
- if (this.graphContainer) {
+ if (this.graphContainer?.nativeElement) {
setTimeout(() => {
- this.graphWidth = this.graphContainer.nativeElement.clientWidth;
+ if (this.graphContainer?.nativeElement) {
+ this.graphWidth = this.graphContainer.nativeElement.clientWidth;
+ } else {
+ setTimeout(() => { this.setGraphSize(); }, 1);
+ }
}, 1);
}
}
| |