mirror of
https://github.com/mempool/mempool.git
synced 2024-12-29 09:44:26 +01:00
Show liquid link for liquid endpoint
Error from previous PR.
This commit is contained in:
parent
ee8eef2806
commit
82f70eaefe
@ -34,7 +34,7 @@
|
|||||||
</ng-container>
|
</ng-container>
|
||||||
<ng-template #liquid_link_example>
|
<ng-template #liquid_link_example>
|
||||||
<ng-container *ngIf="item.httpRequestMethod === 'GET' && network.val === 'liquid' && item.codeExample.hasOwnProperty('liquid');else default_link_example">
|
<ng-container *ngIf="item.httpRequestMethod === 'GET' && network.val === 'liquid' && item.codeExample.hasOwnProperty('liquid');else default_link_example">
|
||||||
<a [href]="wrapUrl(network.val, item.codeExample.bisq)" target="_blank">{{ item.httpRequestMethod }} {{ baseNetworkUrl }}/api{{ item.urlString }}</a>
|
<a [href]="wrapUrl(network.val, item.codeExample.liquid)" target="_blank">{{ item.httpRequestMethod }} {{ baseNetworkUrl }}/api{{ item.urlString }}</a>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<ng-template #default_link_example>
|
<ng-template #default_link_example>
|
||||||
|
Loading…
Reference in New Issue
Block a user