Fix leading comma bug
The space and comma need to only be present if found.label is not empty.
MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/HistoryTabViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/HistoryTabViewModel.cs
@@ -78,7 +78,8 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
if (found != default) // if found
{
txRecordList.Remove(found);
- var newRecord = (found.height, found.amount + coin.Amount, $"{found.label}, {coin.Label}", coin.TransactionId);
+ var foundLabel = found.label != string.Empty ? found.label + ", " : "";
+ var newRecord = (found.height, found.amount + coin.Amount, $"{foundLabel}{coin.Label}", coin.TransactionId);
txRecordList.Add(newRecord);
}
else

Fix leading comma bug

The space and comma need to only be present if found.label is not empty.