Tooltip-style tx previews in block overview

This commit is contained in:
Mononaut committed 2022-06-16 02:46:27 +00:00
1 parent 08454f2833
commit aa0fc24dc5
12 files changed
+204 -73

No files matched your search

@@ -249,6 +249,7 @@
[blockLimit]="stateService.blockVSize"
[orientation]="'top'"
[flip]="false"
(txClickEvent)="onTxClick($event)"
></app-block-overview-graph>
</div>
</div>
@@ -367,6 +367,11 @@ export class BlockComponent implements OnInit, OnDestroy {
}
}
}
onTxClick(event: TransactionStripped): void {
const url = new RelativeUrlPipe(this.stateService).transform(`/tx/${event.txid}`);
this.router.navigate([url]);
}
}
function detectWebGL() {