Skip to content

Commit

Permalink
Merge pull request #83 from diggerhq/feat/skip-trial
Browse files Browse the repository at this point in the history
skip trial configurable
  • Loading branch information
motatoes authored Nov 21, 2024
2 parents 5b496f5 + b21b3b1 commit 227ee0b
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ async function OrganizationSubscriptionSidebarCard({

const isOrganizationAdmin = userRole === 'admin' || userRole === 'owner'

if (process.env.NEXT_PUBLIC_HIDE_FREE_TRIAL_DIALOG === "true") {
return null
}

switch (normalizedSubscription.type) {
case 'bypassed_enterprise_organization':
return null;
Expand Down

0 comments on commit 227ee0b

Please sign in to comment.