Theme: ensure feedback link is gated behind config option (#100815)

ensure feedback link is behind config option
This commit is contained in:
Ashley Harrison
2025-02-17 14:15:03 +00:00
committed by GitHub
parent 84d22e176b
commit 60fa83ea53

View File

@ -184,7 +184,7 @@ export class SharedPreferences extends PureComponent<Props, State> {
disabled={isLoading}
label={t('shared-preferences.fields.theme-label', 'Interface theme')}
description={
config.featureToggles.grafanaconThemes ? (
config.featureToggles.grafanaconThemes && config.feedbackLinksEnabled ? (
<Trans i18nKey="shared-preferences.fields.theme-description">
Enjoying the limited edition themes? Tell us what you'd like to see{' '}
<TextLink