mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-19 09:54:30 +01:00
fix lnaddress nav item permission
This commit is contained in:
parent
52790a6954
commit
97acec340c
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user