From d6411ab39b7c8057e066927d62ca938d313bc591 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Beganovi=C4=87?= Date: Fri, 16 Jun 2023 13:23:35 +0200 Subject: [PATCH] Hide licence management for demo --- src/pages/settings/account-management/component/Plan.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() && } ); }