Skip to content

Commit

Permalink
Removed extra delegation check for subscription, fixed try button vis…
Browse files Browse the repository at this point in the history
…ibility on header stick to top (#643)

Removed extra delegation check for a subscription
Fixed try button visibility on header stick to top (close #559)
  • Loading branch information
ygrik authored May 26, 2020
1 parent fd141e5 commit b32d260
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/services/tenantService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ export class TenantService {

public async isSubscriptionDelegationEnabled(): Promise<boolean> {
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";
}
}
2 changes: 1 addition & 1 deletion src/themes/website/styles/docs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit b32d260

Please sign in to comment.