Show liquid link for liquid endpoint

Error from previous PR.
This commit is contained in:
hunicus 2022-02-07 14:38:02 -05:00
parent ee8eef2806
commit 82f70eaefe
No known key found for this signature in database
GPG Key ID: 24837C51B6D81FD9

View File

@ -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>