Renamed /mining/dashboard -> /mining

This commit is contained in:
nymkappa 2022-02-16 21:22:49 +09:00
parent 923a2ce7f6
commit 750ea033f2
No known key found for this signature in database
GPG Key ID: E155910B16E8BD04
2 changed files with 4 additions and 4 deletions

View File

@ -74,7 +74,7 @@ let routes: Routes = [
component: PoolRankingComponent, component: PoolRankingComponent,
}, },
{ {
path: 'mining/dashboard', path: 'mining',
component: MiningDashboardComponent, component: MiningDashboardComponent,
}, },
{ {
@ -174,7 +174,7 @@ let routes: Routes = [
component: PoolRankingComponent, component: PoolRankingComponent,
}, },
{ {
path: 'mining/dashboard', path: 'mining',
component: MiningDashboardComponent, component: MiningDashboardComponent,
}, },
{ {
@ -268,7 +268,7 @@ let routes: Routes = [
component: PoolRankingComponent, component: PoolRankingComponent,
}, },
{ {
path: 'mining/dashboard', path: 'mining',
component: MiningDashboardComponent, component: MiningDashboardComponent,
}, },
{ {

View File

@ -32,7 +32,7 @@
<a class="nav-link" [routerLink]="['/' | relativeUrl]" (click)="collapse()"><fa-icon [icon]="['fas', 'tachometer-alt']" [fixedWidth]="true" i18n-title="master-page.dashboard" title="Dashboard"></fa-icon></a> <a class="nav-link" [routerLink]="['/' | relativeUrl]" (click)="collapse()"><fa-icon [icon]="['fas', 'tachometer-alt']" [fixedWidth]="true" i18n-title="master-page.dashboard" title="Dashboard"></fa-icon></a>
</li> </li>
<li class="nav-item" routerLinkActive="active" id="btn-pools" *ngIf="stateService.env.MINING_DASHBOARD"> <li class="nav-item" routerLinkActive="active" id="btn-pools" *ngIf="stateService.env.MINING_DASHBOARD">
<a class="nav-link" [routerLink]="['/mining/dashboard' | relativeUrl]" (click)="collapse()"><fa-icon [icon]="['fas', 'hammer']" [fixedWidth]="true" i18n-title="master-page.mining-dashboard" title="Mining Dashboard"></fa-icon></a> <a class="nav-link" [routerLink]="['/mining' | relativeUrl]" (click)="collapse()"><fa-icon [icon]="['fas', 'hammer']" [fixedWidth]="true" i18n-title="master-page.mining-dashboard" title="Mining Dashboard"></fa-icon></a>
</li> </li>
<li class="nav-item" routerLinkActive="active" id="btn-blocks" *ngIf="!stateService.env.MINING_DASHBOARD"> <li class="nav-item" routerLinkActive="active" id="btn-blocks" *ngIf="!stateService.env.MINING_DASHBOARD">
<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> <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>