mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-01-18 21:32:27 +01:00
Cutting off lightning payment so receipt takes less space
This commit is contained in:
parent
7793c5e5df
commit
d2a04db49f
@ -218,9 +218,9 @@
|
||||
@if (payment.Destination.Length > 69)
|
||||
{
|
||||
<span>
|
||||
<span>@payment.Destination[..30]</span>
|
||||
<span>@payment.Destination[..19]</span>
|
||||
<span>...</span>
|
||||
<span>@payment.Destination.Substring(payment.Destination.Length - 30, 30)</span>
|
||||
<span>@payment.Destination.Substring(payment.Destination.Length - 20, 20)</span>
|
||||
</span>
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user