Merge pull request #4797 from dennisreimann/fix-4790

This commit is contained in:
Andrew Camilleri 2023-03-22 09:02:10 +01:00 committed by GitHub
commit 5f829c68f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1433,8 +1433,7 @@ namespace BTCPayServer.Controllers
{
0 => PayoutTooltip(),
1 => PayoutTooltip(payoutsByPullPaymentId.First()),
_ =>
$"<ul>{string.Join(string.Empty, payoutsByPullPaymentId.Select(pair => $"<li>{PayoutTooltip(pair)}</li>"))}</ul>"
_ => string.Join(", ", payoutsByPullPaymentId.Select(PayoutTooltip))
};
model.Link = _linkGenerator.PayoutLink(transactionInfo.WalletId.ToString(), null, PayoutState.Completed, Request.Scheme, Request.Host,
@ -1442,7 +1441,7 @@ namespace BTCPayServer.Controllers
}
else if (tag.Type == WalletObjectData.Types.Payjoin)
{
model.Tooltip = $"This UTXO was part of a PayJoin transaction.";
model.Tooltip = "This UTXO was part of a PayJoin transaction.";
}
else if (tag.Type == WalletObjectData.Types.Invoice)
{