mirror of
https://github.com/grafana/grafana.git
synced 2025-02-16 10:24:54 -06:00
Variables: adds missing feature toggle in DashboardModel (#22868)
This commit is contained in:
parent
229f135e5c
commit
52242ddf76
@ -278,7 +278,9 @@ export class DashboardModel {
|
||||
|
||||
timeRangeUpdated(timeRange: TimeRange) {
|
||||
this.events.emit(CoreEvents.timeRangeUpdated, timeRange);
|
||||
dispatch(onTimeRangeUpdated(timeRange));
|
||||
if (getConfig().featureToggles.newVariables) {
|
||||
dispatch(onTimeRangeUpdated(timeRange));
|
||||
}
|
||||
}
|
||||
|
||||
startRefresh() {
|
||||
|
Loading…
Reference in New Issue
Block a user