From 8da85923802c60fb9ccc8f33625778f7d62dad04 Mon Sep 17 00:00:00 2001
From: Li Yi Yu
Date: Wed, 8 Nov 2023 01:09:59 -0500
Subject: [PATCH] fix(surveys): hide posthog branding bug (#18470)
* fix(surveys): hide posthog branding bug
* Update UI snapshots for `chromium` (1)
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (1)
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (1)
* Update UI snapshots for `chromium` (2)
* Update UI snapshots for `chromium` (1)
---------
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
---
frontend/src/scenes/surveys/SurveyAppearance.tsx | 1 +
1 file changed, 1 insertion(+)
diff --git a/frontend/src/scenes/surveys/SurveyAppearance.tsx b/frontend/src/scenes/surveys/SurveyAppearance.tsx
index af90fcad98b51..d45be9f502884 100644
--- a/frontend/src/scenes/surveys/SurveyAppearance.tsx
+++ b/frontend/src/scenes/surveys/SurveyAppearance.tsx
@@ -224,6 +224,7 @@ export function Customization({ appearance, surveyQuestionItem, onAppearanceChan
}
onChange={(checked) => onAppearanceChange({ ...appearance, whiteLabel: checked })}
+ checked={appearance?.whiteLabel}
disabledReason={!whitelabelAvailable ? 'Upgrade to any paid plan to hide PostHog branding' : null}
/>