diff --git a/src/pages/settings/account-management/component/Plan.tsx b/src/pages/settings/account-management/component/Plan.tsx index 87efb6dd50..d22b08a278 100644 --- a/src/pages/settings/account-management/component/Plan.tsx +++ b/src/pages/settings/account-management/component/Plan.tsx @@ -8,7 +8,7 @@ * @license https://www.elastic.co/licensing/elastic-license */ -import { date, isHosted, isSelfHosted } from '$app/common/helpers'; +import { date, isDemo, isHosted, isSelfHosted } from '$app/common/helpers'; import { useCurrentAccount } from '$app/common/hooks/useCurrentAccount'; import { useCurrentCompanyDateFormats } from '$app/common/hooks/useCurrentCompanyDateFormats'; import { useCurrentUser } from '$app/common/hooks/useCurrentUser'; @@ -54,7 +54,7 @@ export function Plan() { )} - {isSelfHosted() && } + {isSelfHosted() && !isDemo() && } ); }