mirror of
https://github.com/mempool/mempool.git
synced 2024-11-19 01:41:01 +01:00
add blockchain bar to stratum page
This commit is contained in:
parent
03842a45cb
commit
55f428ce9f
@ -45,6 +45,7 @@ export class StratumList implements OnInit, OnDestroy {
|
||||
) {}
|
||||
|
||||
ngOnInit(): void {
|
||||
this.websocketService.want(['stats', 'blocks', 'mempool-blocks']);
|
||||
this.miningService.getPools().subscribe(pools => {
|
||||
this.pools = {};
|
||||
for (const pool of pools) {
|
||||
|
@ -57,10 +57,16 @@ const routes: Routes = [
|
||||
path: 'rbf',
|
||||
component: RbfList,
|
||||
},
|
||||
{
|
||||
...(browserWindowEnv.STRATUM_ENABLED ? [{
|
||||
path: 'stratum',
|
||||
component: StratumList,
|
||||
},
|
||||
component: StartComponent,
|
||||
children: [
|
||||
{
|
||||
path: '',
|
||||
component: StratumList,
|
||||
}
|
||||
]
|
||||
}] : []),
|
||||
{
|
||||
path: 'terms-of-service',
|
||||
loadChildren: () => import('@components/terms-of-service/terms-of-service.module').then(m => m.TermsOfServiceModule),
|
||||
|
Loading…
Reference in New Issue
Block a user