From e597b2177c69d23f6ec35bbfca371f44e760148e Mon Sep 17 00:00:00 2001 From: Dennis Reimann Date: Thu, 12 May 2022 13:23:17 +0200 Subject: [PATCH] Re-add StoreNavPages.Integrations with deprecation warning --- BTCPayServer/Views/UIStores/StoreNavPages.cs | 20 +++++++++++++++++++- BTCPayServer/Views/UIStores/_Nav.cshtml | 3 ++- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/BTCPayServer/Views/UIStores/StoreNavPages.cs b/BTCPayServer/Views/UIStores/StoreNavPages.cs index 31a99c6aa..325df817a 100644 --- a/BTCPayServer/Views/UIStores/StoreNavPages.cs +++ b/BTCPayServer/Views/UIStores/StoreNavPages.cs @@ -1,7 +1,25 @@ +using System; + namespace BTCPayServer.Views.Stores { public enum StoreNavPages { - Create, Dashboard, General, Rates, OnchainSettings, LightningSettings, Lightning, CheckoutAppearance, Tokens, Users, PayButton, Plugins, Webhooks, PullPayments, Payouts + Create, + Dashboard, + General, + Rates, + OnchainSettings, + LightningSettings, + Lightning, + CheckoutAppearance, + Tokens, + Users, + PayButton, + Plugins, + Webhooks, + PullPayments, + Payouts, + [Obsolete("Use StoreNavPages.Plugins instead")] + Integrations } } diff --git a/BTCPayServer/Views/UIStores/_Nav.cshtml b/BTCPayServer/Views/UIStores/_Nav.cshtml index 22fb4fe90..7f8696980 100644 --- a/BTCPayServer/Views/UIStores/_Nav.cshtml +++ b/BTCPayServer/Views/UIStores/_Nav.cshtml @@ -14,7 +14,8 @@ Checkout Appearance Access Tokens Users - Plugins + @* ReSharper disable once CSharpWarnings::CS0618 *@ + Plugins Webhooks Payout Processors