What changed, and why it matters
This is a one-line user-interface styling fix in the main navigation menu. It adds a missing layout attribute so a menu link is styled consistently with other navigation items. There is no security relevance.
No security action needed; treat as routine UI fix.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The commit modifies BTCPayServer/Components/MainNav/Default.cshtml, adding the layout-menu-item attribute to an anchor tag for wallet setup links. This aligns the link with the Razor component’s menu-item styling convention. No controller, action, route, authorization, or data-handling logic is changed.
Changed components
BTCPayServer/Components/MainNav/Default.cshtmlInspect captured patch +1 / −1
diff --git a/BTCPayServer/Components/MainNav/Default.cshtml b/BTCPayServer/Components/MainNav/Default.cshtml
index 5dc3a1b..4bd08ea 100644
--- a/BTCPayServer/Components/MainNav/Default.cshtml
+++ b/BTCPayServer/Components/MainNav/Default.cshtml
@@ -94,7 +94,7 @@
}
else
{
- <a asp-area="" asp-controller="UIStores" asp-action="SetupWallet" asp-route-cryptoCode="@scheme.Crypto" asp-route-storeId="@Model.Store.Id">
+ <a layout-menu-item="@nameof(WalletsNavPages.Transactions)-@scheme.Crypto" asp-area="" asp-controller="UIStores" asp-action="SetupWallet" asp-route-cryptoCode="@scheme.Crypto" asp-route-storeId="@Model.Store.Id">
<span class="me-2 btcpay-status btcpay-status--@(scheme.Enabled ? "enabled" : "pending")"></span>
<span>@PrettyName.PrettyName(scheme.PaymentMethodId)</span>
</a>
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.