8000 Fixing the /graphs link and make it consistent · mempool/mempool@75b3b0f · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Commit 75b3b0f

Browse files
committed
Fixing the /graphs link and make it consistent
1 parent db1720e commit 75b3b0f

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

frontend/src/app/components/master-page/master-page.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ <h6 *ngIf="env.LIQUID_ENABLED || env.BISQ_ENABLED" class="dropdown-header" i18n=
3838
<a class="nav-link" [routerLink]="['/blocks' | relativeUrl]" (click)="collapse()"><fa-icon [icon]="['fas', 'cubes']" [fixedWidth]="true" i18n-title="master-page.blocks" title="Blocks"></fa-icon></a>
3939
</li>
4040
<li class="nav-item" routerLinkActive="active" id="btn-graphs">
41-
<a class="nav-link" [routerLink]="['/graphs/mempool' | relativeUrl]" (click)="collapse()"><fa-icon [icon]="['fas', 'chart-area']" [fixedWidth]="true" i18n-title="master-page.graphs" title="Graphs"></fa-icon></a>
41+
<a class="nav-link" [routerLink]="['/graphs' | relativeUrl]" (click)="collapse()"><fa-icon [icon]="['fas', 'chart-area']" [fixedWidth]="true" i18n-title="master-page.graphs" title="Graphs"></fa-icon></a>
4242
</li>
4343
<li class="nav-item d-none d-lg-block" routerLinkActive="active" id="btn-tv">
4444
<a class="nav-link" [routerLink]="['/tv' | relativeUrl]" (click)="collapse()"><fa-icon [icon]="['fas', 'tv']" [fixedWidth]="true" i18n-title="master-page.tvview" title="TV view"></fa-icon></a>

frontend/src/app/graphs/graphs.routing.module.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,10 @@ const routes: Routes = [
8888
path: 'mining/block-sizes-weights',
8989
component: BlockSizesWeightsGraphComponent,
9090
},
91+
{
92+
path: '',
93+
redirectTo: 'mempool',
94+
},
9195
]
9296
},
9397
{

0 commit comments

Comments
 (0)
0