mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-23 06:35:13 +01:00
13 lines
478 B
Text
13 lines
478 B
Text
|
@using BTCPayServer.Plugins.CoinSwitch
|
||
|
@inject CoinSwitchService CoinSwitchService
|
||
|
@{
|
||
|
var invoiceId = this.Context.GetRouteValue("invoiceId")?.ToString();
|
||
|
var settings = await CoinSwitchService.GetCoinSwitchForInvoice(invoiceId);
|
||
|
}
|
||
|
@if (settings?.IsConfigured() is true)
|
||
|
{
|
||
|
<div class="payment-tabs__tab" id="altcoins-tab" v-on:click="switchTab('altcoins')" v-bind:class="{ 'active': currentTab == 'altcoins'}">
|
||
|
<span>{{$t("Conversion")}}</span>
|
||
|
</div>
|
||
|
}
|