From a2770729681db46af19b27156de7bd90cee5f60b Mon Sep 17 00:00:00 2001 From: Umar Bolatov Date: Sun, 14 Nov 2021 16:17:16 -0800 Subject: [PATCH] Fix issue with weird label buttons --- .../Views/Wallets/WalletTransactions.cshtml | 20 ++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/BTCPayServer/Views/Wallets/WalletTransactions.cshtml b/BTCPayServer/Views/Wallets/WalletTransactions.cshtml index 55b26ed37..8a298ae21 100644 --- a/BTCPayServer/Views/Wallets/WalletTransactions.cshtml +++ b/BTCPayServer/Views/Wallets/WalletTransactions.cshtml @@ -200,17 +200,19 @@ @if (Model.Labels.Count > 0) { - @foreach (var label in Model.Labels) - { - @if (transaction.Labels.Contains(label)) +
+ @foreach (var label in Model.Labels) { - + @if (transaction.Labels.Contains(label)) + { + + } + else + { + + } } - else - { - - } - } +
}