Only display About page on main Bitcoin network.

This commit is contained in:
softsimon 2020-10-07 20:27:22 +07:00
parent 17dd03682b
commit 0ee2753100
No known key found for this signature in database
GPG Key ID: 488D7DCFB5A430D7
2 changed files with 1 additions and 9 deletions

View File

@ -98,10 +98,6 @@ const routes: Routes = [
path: 'graphs',
component: StatisticsComponent,
},
{
path: 'about',
component: AboutComponent,
},
{
path: 'address/:id',
component: AddressComponent
@ -167,10 +163,6 @@ const routes: Routes = [
path: 'graphs',
component: StatisticsComponent,
},
{
path: 'about',
component: AboutComponent,
},
{
path: 'address/:id',
children: [],

View File

@ -52,7 +52,7 @@
<li *ngIf="network.val === 'liquid'" class="nav-item" routerLinkActive="active">
<a class="nav-link" [routerLink]="['/liquid/assets']" (click)="collapse()"><fa-icon [icon]="['fas', 'database']" [fixedWidth]="true" title="Assets"></fa-icon></a>
</li>
<li class="nav-item" routerLinkActive="active">
<li *ngIf="network.val === ''" class="nav-item" routerLinkActive="active">
<a class="nav-link" [routerLink]="['/about' | relativeUrl]" (click)="collapse()"><fa-icon [icon]="['fas', 'info-circle']" [fixedWidth]="true" title="About"></fa-icon></a>
</li>
</ul>