Commit 52242ddf by Hugo Häggmark Committed by GitHub

Variables: adds missing feature toggle in DashboardModel (#22868)

parent 229f135e
......@@ -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() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment