Expressions: Remove feature toggle (#30316)
* Expressions: remove feature toggle, add experimental badge * Make button only show for backend and mixed data sources Co-authored-by: Peter Holmberg <peter.hlmbrg@gmail.com> Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
This commit is contained in:
co-authored by
Peter Holmberg
Torkel Ödegaard
parent
4aa9aa8e12
commit
d4edcd1838
@@ -341,11 +341,6 @@ type Cfg struct {
|
||||
AutoAssignOrgRole string
|
||||
}
|
||||
|
||||
// IsExpressionsEnabled returns whether the expressions feature is enabled.
|
||||
func (cfg Cfg) IsExpressionsEnabled() bool {
|
||||
return cfg.FeatureToggles["expressions"]
|
||||
}
|
||||
|
||||
// IsLiveEnabled returns if grafana live should be enabled
|
||||
func (cfg Cfg) IsLiveEnabled() bool {
|
||||
return cfg.FeatureToggles["live"]
|
||||
|
||||
Reference in New Issue
Block a user