mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 14:34:23 +01:00
Refactor labels (#4179)
* Create new tables * wip * wip * Refactor LegacyLabel * Remove LabelFactory * Add migration * wip * wip * Add pull-payment attachment to tx * Address kukks points
This commit is contained in:
@@ -41,7 +41,7 @@ namespace BTCPayServer.Services.Wallets.Export
|
||||
|
||||
if (_walletTransactionsInfo.TryGetValue(tx.TransactionId.ToString(), out var transactionInfo))
|
||||
{
|
||||
model.Labels = transactionInfo.Labels?.Select(l => l.Value.Text).ToList();
|
||||
model.Labels = transactionInfo.LabelColors?.Select(l => l.Key).ToList();
|
||||
model.Comment = transactionInfo.Comment;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user