Fix Coinswitch enabledflag and nav category

This commit is contained in:
Kukks 2021-05-14 09:08:32 +02:00
parent 9e3d99ec39
commit 776ded0b7e
2 changed files with 2 additions and 2 deletions

View file

@ -4,7 +4,7 @@
@{
Layout = "../Shared/_NavLayout.cshtml";
ViewData["NavPartialName"] = "../Stores/_Nav";
ViewData.SetActivePageAndTitle(StoreNavPages.Index, "Update Store CoinSwitch Settings", Context.GetStoreData().StoreName);
ViewData.SetActivePageAndTitle(StoreNavPages.Integrations, "Update Store CoinSwitch Settings", Context.GetStoreData().StoreName);
}
<h2 class="mb-4">@ViewData["PageTitle"]</h2>

View file

@ -13,7 +13,7 @@
</span>
</span>
<span class="d-flex align-items-center fw-semibold">
@if (settings?.IsConfigured() is true)
@if (settings?.IsConfigured() is true && settings?.Enabled is true)
{
<span class="d-flex align-items-center text-success">
<span class="mr-2 btcpay-status btcpay-status--enabled"></span>