diff --git a/apps/formbricks-com/pages/community/index.tsx b/apps/formbricks-com/pages/community/index.tsx index 6f8fc61c3e..196c920055 100644 --- a/apps/formbricks-com/pages/community/index.tsx +++ b/apps/formbricks-com/pages/community/index.tsx @@ -199,7 +199,7 @@ const FAQ = [ { question: "Why is there a Commercial plan?", answer: - "The commercial plan is for features who break the OSS WIN-WIN Loop or incur additional cost. We charge 29$ if you want a custom domain, remove Formbricks branding, collect large files in surveys or collect payments. We think that’s fair :)", + "The commercial plan is for features who break the OSS WIN-WIN Loop or incur additional cost. We charge 30$ if you want a custom domain, remove Formbricks branding, collect large files in surveys or collect payments. We think that’s fair :)", }, { question: "Are your in app surveys also free forever?", diff --git a/apps/web/app/(app)/environments/[environmentId]/settings/lookandfeel/components/EditBranding.tsx b/apps/web/app/(app)/environments/[environmentId]/settings/lookandfeel/components/EditBranding.tsx index c7d0fd7e2e..8c5014eeee 100644 --- a/apps/web/app/(app)/environments/[environmentId]/settings/lookandfeel/components/EditBranding.tsx +++ b/apps/web/app/(app)/environments/[environmentId]/settings/lookandfeel/components/EditBranding.tsx @@ -15,7 +15,6 @@ interface EditFormbricksBrandingProps { product: TProduct; canRemoveBranding: boolean; environmentId: string; - isFormbricksCloud?: boolean; } export function EditFormbricksBranding({ @@ -23,7 +22,6 @@ export function EditFormbricksBranding({ product, canRemoveBranding, environmentId, - isFormbricksCloud, }: EditFormbricksBrandingProps) { const [isBrandingEnabled, setIsBrandingEnabled] = useState( type === "linkSurvey" ? product.linkSurveyBranding : product.inAppSurveyBranding @@ -71,14 +69,7 @@ export function EditFormbricksBranding({ /> )} - {type !== "linkSurvey" && !isFormbricksCloud && ( - - )} - {type !== "linkSurvey" && isFormbricksCloud && ( + {type !== "linkSurvey" && ( diff --git a/apps/web/app/(app)/environments/[environmentId]/surveys/components/PreviewSurvey.tsx b/apps/web/app/(app)/environments/[environmentId]/surveys/components/PreviewSurvey.tsx index 40baf7d2de..aba7be092f 100644 --- a/apps/web/app/(app)/environments/[environmentId]/surveys/components/PreviewSurvey.tsx +++ b/apps/web/app/(app)/environments/[environmentId]/surveys/components/PreviewSurvey.tsx @@ -209,7 +209,7 @@ export default function PreviewSurvey({ survey={survey} brandColor={brandColor} activeQuestionId={activeQuestionId || undefined} - isBrandingEnabled={product.linkSurveyBranding} + isBrandingEnabled={product.inAppSurveyBranding} onActiveQuestionChange={setActiveQuestionId} isRedirectDisabled={true} onFileUpload={onFileUpload} @@ -278,7 +278,7 @@ export default function PreviewSurvey({ survey={survey} brandColor={brandColor} activeQuestionId={activeQuestionId || undefined} - isBrandingEnabled={product.linkSurveyBranding} + isBrandingEnabled={product.inAppSurveyBranding} onActiveQuestionChange={setActiveQuestionId} isRedirectDisabled={true} onFileUpload={onFileUpload} diff --git a/packages/ee/lib/service.ts b/packages/ee/lib/service.ts index 31d10e053c..e0529c5759 100644 --- a/packages/ee/lib/service.ts +++ b/packages/ee/lib/service.ts @@ -12,7 +12,7 @@ export const getIsEnterpriseEdition = (): boolean => { export const getRemoveInAppBrandingPermission = (team: TTeam): boolean => { if (IS_FORMBRICKS_CLOUD) return team.billing.features.inAppSurvey.status !== "inactive"; - else if (!IS_FORMBRICKS_CLOUD) return getIsEnterpriseEdition(); + else if (!IS_FORMBRICKS_CLOUD) return true; else return false; }; diff --git a/packages/ui/SurveysList/index.tsx b/packages/ui/SurveysList/index.tsx index f8c864e791..a9188ce1dc 100644 --- a/packages/ui/SurveysList/index.tsx +++ b/packages/ui/SurveysList/index.tsx @@ -68,6 +68,7 @@ export default function SurveysList({ {filteredSurveys.map((survey) => { return ( { return (