mirror of
https://github.com/grafana/grafana.git
synced 2025-08-03 03:13:49 +08:00
FeatureToggles: Add context and and an explicit global check (#78081)
This commit is contained in:
@ -66,7 +66,7 @@ func (hs *HTTPServer) getFrontendSettings(c *contextmodel.ReqContext) (*dtos.Fro
|
||||
continue
|
||||
}
|
||||
|
||||
if panel.ID == "datagrid" && !hs.Features.IsEnabled(featuremgmt.FlagEnableDatagridEditing) {
|
||||
if panel.ID == "datagrid" && !hs.Features.IsEnabled(c.Req.Context(), featuremgmt.FlagEnableDatagridEditing) {
|
||||
continue
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user