From ab2e69faefcdedf35900fa692b503e67c93773e4 Mon Sep 17 00:00:00 2001 From: NFish Date: Tue, 7 Jan 2025 12:23:17 +0800 Subject: [PATCH] fix: plan item can not show all content if language is jp --- .../billing/pricing/self-hosted-plan-item.tsx | 21 +++++++++---------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/web/app/components/billing/pricing/self-hosted-plan-item.tsx b/web/app/components/billing/pricing/self-hosted-plan-item.tsx index 80a9cd9af1..906ae1a059 100644 --- a/web/app/components/billing/pricing/self-hosted-plan-item.tsx +++ b/web/app/components/billing/pricing/self-hosted-plan-item.tsx @@ -108,7 +108,7 @@ const SelfHostedPlanItem: FC = ({ window.location.href = contactSalesUrl } return ( -
@@ -116,7 +116,7 @@ const SelfHostedPlanItem: FC = ({ {isEnterprisePlan &&
} {isEnterprisePlan &&
}
-
+
{style[plan].icon}
@@ -126,12 +126,11 @@ const SelfHostedPlanItem: FC = ({
-
{t(`${i18nPrefix}.price`)}
- {!isFreePlan &&
-
+
{t(`${i18nPrefix}.price`)}
+ {!isFreePlan + && {t(`${i18nPrefix}.priceTip`)} -
-
} + }
@@ -142,12 +141,12 @@ const SelfHostedPlanItem: FC = ({ > {t(`${i18nPrefix}.btnText`)} {isPremiumPlan - &&
-
- + && <> +
+
-
} + }
{t(`${i18nPrefix}.includesTitle`)}