mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 06:21:44 +01:00
Hiding NetworkFee row in invoice if not applicable
This commit is contained in:
parent
894dca2eef
commit
2e822c5878
1 changed files with 3 additions and 3 deletions
|
@ -124,7 +124,7 @@
|
|||
{{srvModel.orderAmountFiat}}
|
||||
</div>
|
||||
</div>
|
||||
<div class="line-items__item" v-show="srvModel.networkFee > 0">
|
||||
<div class="line-items__item" v-show="srvModel.isMultiCurrency || srvModel.txCountForFee > 0">
|
||||
<div class="line-items__item__label">
|
||||
<span>{{$t("Network Cost")}}</span>
|
||||
</div>
|
||||
|
@ -132,8 +132,8 @@
|
|||
<span v-if="srvModel.isMultiCurrency">
|
||||
{{ srvModel.networkFee }} {{ srvModel.cryptoCode }}
|
||||
</span>
|
||||
<span v-else>
|
||||
{{$t("txCount", {count: srvModel.txCountForFee})}} x {{ srvModel.networkFee }} {{ srvModel.cryptoCode }}
|
||||
<span v-else-if="srvModel.txCountForFee > 0">
|
||||
{{$t("txCount", {count: srvModel.txCount})}} x {{ srvModel.networkFee }} {{ srvModel.cryptoCode }}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Reference in a new issue