From fc574658b912858367c9b84ed7075a83cd10cdcc Mon Sep 17 00:00:00 2001 From: Igor O Date: Tue, 26 May 2020 16:49:00 -0700 Subject: [PATCH] removed extra delegation check for subscription fixed try button visibility on header stick to top (close #559) --- src/services/tenantService.ts | 3 +-- src/themes/website/styles/docs.scss | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/services/tenantService.ts b/src/services/tenantService.ts index 932e75c03..7f0d92e63 100644 --- a/src/services/tenantService.ts +++ b/src/services/tenantService.ts @@ -82,7 +82,6 @@ export class TenantService { public async isSubscriptionDelegationEnabled(): Promise { const tenantSettings = await this.getSettings(); - const delegationEnabled = await this.isDelegationEnabled(tenantSettings); - return delegationEnabled && tenantSettings["CustomPortalSettings.DelegatedSubscriptionEnabled"] && tenantSettings["CustomPortalSettings.DelegatedSubscriptionEnabled"].toLowerCase() === "true"; + return tenantSettings["CustomPortalSettings.DelegatedSubscriptionEnabled"] && tenantSettings["CustomPortalSettings.DelegatedSubscriptionEnabled"].toLowerCase() === "true"; } } \ No newline at end of file diff --git a/src/themes/website/styles/docs.scss b/src/themes/website/styles/docs.scss index d4ea48c91..dfa410481 100644 --- a/src/themes/website/styles/docs.scss +++ b/src/themes/website/styles/docs.scss @@ -233,7 +233,7 @@ pre { top: 0; bottom: 0; right: 0; - z-index: 1000; + z-index: 1050; @media (min-width: $breakpoint-md) { max-width: 600px; }