mirror of
https://github.com/mempool/mempool.git
synced 2026-08-13 12:33:11 +02:00
Switch to isMempoolSpaceBuild for enterprise nav
This commit is contained in:
parent
c43d0a922e
commit
e7a22c3587
2 changed files with 3 additions and 2 deletions
|
|
@ -113,12 +113,12 @@
|
|||
<div class="svg-wrapper"><app-svg-images name="nav-faucet-drip" width="21.59" height="100%"></app-svg-images></div>
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item" routerLinkActive="active" id="btn-docs" *ngIf="!officialMempoolSpace">
|
||||
<li class="nav-item" routerLinkActive="active" id="btn-docs" *ngIf="!officialMempoolSpaceBuild">
|
||||
<a class="nav-link" [routerLink]="['/docs' | relativeUrl ]" (click)="collapse()">
|
||||
<div class="svg-wrapper"><app-svg-images name="nav-book" width="21.59" height="100%"></app-svg-images></div>
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item" routerLinkActive="active" id="btn-enterprise" *ngIf="officialMempoolSpace">
|
||||
<li class="nav-item" routerLinkActive="active" id="btn-enterprise" *ngIf="officialMempoolSpaceBuild">
|
||||
<a class="nav-link" [routerLink]="['/enterprise' | relativeUrl ]" (click)="collapse()">
|
||||
<div class="svg-wrapper"><app-svg-images name="nav-enterprise" width="21.59" height="100%"></app-svg-images></div>
|
||||
</a>
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@ export class MasterPageComponent implements OnInit, OnDestroy {
|
|||
navCollapsed = false;
|
||||
isMobile = window.innerWidth <= 767.98;
|
||||
officialMempoolSpace = this.stateService.env.OFFICIAL_MEMPOOL_SPACE;
|
||||
officialMempoolSpaceBuild = this.stateService.isMempoolSpaceBuild;
|
||||
urlLanguage: string;
|
||||
subdomain = '';
|
||||
networkPaths: { [network: string]: string };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue