Theme: ensure feedback link is gated behind config option (#100815)
ensure feedback link is behind config option
This commit is contained in:
@@ -184,7 +184,7 @@ export class SharedPreferences extends PureComponent<Props, State> {
|
|||||||
disabled={isLoading}
|
disabled={isLoading}
|
||||||
label={t('shared-preferences.fields.theme-label', 'Interface theme')}
|
label={t('shared-preferences.fields.theme-label', 'Interface theme')}
|
||||||
description={
|
description={
|
||||||
config.featureToggles.grafanaconThemes ? (
|
config.featureToggles.grafanaconThemes && config.feedbackLinksEnabled ? (
|
||||||
<Trans i18nKey="shared-preferences.fields.theme-description">
|
<Trans i18nKey="shared-preferences.fields.theme-description">
|
||||||
Enjoying the limited edition themes? Tell us what you'd like to see{' '}
|
Enjoying the limited edition themes? Tell us what you'd like to see{' '}
|
||||||
<TextLink
|
<TextLink
|
||||||
|
|||||||
Reference in New Issue
Block a user