diff --git a/public/app/features/dashboard/state/DashboardModel.ts b/public/app/features/dashboard/state/DashboardModel.ts index 40e25f84467..4f09d20a96d 100644 --- a/public/app/features/dashboard/state/DashboardModel.ts +++ b/public/app/features/dashboard/state/DashboardModel.ts @@ -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() {