fix lnaddress nav item permission

This commit is contained in:
Kukks 2023-08-24 16:31:49 +02:00
parent 52790a6954
commit 97acec340c
No known key found for this signature in database
GPG Key ID: 8E5530D9D1C93097

View File

@ -1,5 +1,6 @@
@using BTCPayServer.Views.Stores
@using BTCPayServer.Abstractions.Extensions
@using BTCPayServer.Client
@inject BTCPayNetworkProvider BTCPayNetworkProvider
@{
const string cryptoCode = "BTC";
@ -10,7 +11,7 @@
@if (isLightningEnabled && isLNUrlEnabled)
{
<li class="nav-item">
<li class="nav-item" permission="@Policies.CanModifyStoreSettings">
<a asp-area="" asp-controller="UILNURL" asp-action="EditLightningAddress" asp-route-storeId="@store.Id" class="nav-link @ViewData.IsActivePage("LightningAddress", nameof(StoreNavPages))" id="StoreNav-LightningAddress">
<vc:icon symbol="wallet-lightning"/>
<span>Lightning Address</span>