@using BTCPayServer @using BTCPayServer.Abstractions.Contracts @using BTCPayServer.Plugins.LiquidPlus.Controllers @using Microsoft.AspNetCore.Routing @inject BTCPayNetworkProvider BTCPayNetworkProvider; @inject IScopeProvider ScopeProvider @{ var storeId = ScopeProvider.GetCurrentStoreId(); var isActive = !string.IsNullOrEmpty(storeId) && ViewContext.RouteData.Values.TryGetValue("Controller", out var controller) && controller is not null && nameof(StoreLiquidController).StartsWith(controller?.ToString(), StringComparison.InvariantCultureIgnoreCase); } @if (BTCPayNetworkProvider.GetAll().OfType().Any()) { Liquid }