diff --git a/frontend/src/app/docs/api-docs/api-docs-nav.component.html b/frontend/src/app/docs/api-docs/api-docs-nav.component.html index 3df1940dc..5634f8b4c 100644 --- a/frontend/src/app/docs/api-docs/api-docs-nav.component.html +++ b/frontend/src/app/docs/api-docs/api-docs-nav.component.html @@ -1,6 +1,6 @@
-1 ) && ( !item.hasOwnProperty('options') || ( item.hasOwnProperty('options') && item.options.hasOwnProperty('officialOnly') && item.options.officialOnly && officialMempoolInstance ))">{{ item.title }}
diff --git a/frontend/src/app/docs/api-docs/api-docs-nav.component.ts b/frontend/src/app/docs/api-docs/api-docs-nav.component.ts index f83c72dc5..24ed5e996 100644 --- a/frontend/src/app/docs/api-docs/api-docs-nav.component.ts +++ b/frontend/src/app/docs/api-docs/api-docs-nav.component.ts @@ -21,6 +21,7 @@ export class ApiDocsNavComponent implements OnInit { tabData: any[]; auditEnabled: boolean; officialMempoolInstance: boolean; + isMempoolSpaceBuild: boolean; runningElectrs: boolean; constructor( @@ -30,6 +31,7 @@ export class ApiDocsNavComponent implements OnInit { ngOnInit(): void { this.env = this.stateService.env; this.officialMempoolInstance = this.env.OFFICIAL_MEMPOOL_SPACE; + this.isMempoolSpaceBuild = this.stateService.isMempoolSpaceBuild; this.stateService.backend$.pipe(takeUntil(this.destroy$)).subscribe((backend) => { this.runningElectrs = !!(backend == 'esplora'); }); diff --git a/frontend/src/app/docs/api-docs/api-docs.component.html b/frontend/src/app/docs/api-docs/api-docs.component.html index 778db044a..74e67dd08 100644 --- a/frontend/src/app/docs/api-docs/api-docs.component.html +++ b/frontend/src/app/docs/api-docs/api-docs.component.html @@ -43,7 +43,7 @@Get higher API limits with Mempool Enterprise®
Get higher API limits with Mempool Enterprise®