Chore: Remove extraThemes feature toggle (#105623)

remove extraThemes feature toggle
This commit is contained in:
Ashley Harrison
2025-05-20 09:18:08 +01:00
committed by GitHub
parent 15aa879acb
commit 546f0c2675
7 changed files with 3 additions and 22 deletions
+1 -1
View File
@@ -282,7 +282,7 @@ func (hs *HTTPServer) getThemeForIndexData(themePrefId string, themeURLParam str
if pref.IsValidThemeID(themePrefId) {
theme := pref.GetThemeByID(themePrefId)
// TODO refactor
if !theme.IsExtra || hs.Features.IsEnabledGlobally(featuremgmt.FlagExtraThemes) || hs.Features.IsEnabledGlobally(featuremgmt.FlagGrafanaconThemes) {
if !theme.IsExtra || hs.Features.IsEnabledGlobally(featuremgmt.FlagGrafanaconThemes) {
return theme
}
}