Commit 97180d51 by Erik Sundell

add scoped vars to query options

parent fadabd99
...@@ -625,6 +625,10 @@ export class Explore extends React.PureComponent<ExploreProps, ExploreState> { ...@@ -625,6 +625,10 @@ export class Explore extends React.PureComponent<ExploreProps, ExploreState> {
raw: range, raw: range,
}, },
rangeRaw: range, rangeRaw: range,
scopedVars: {
__interval: { text: interval, value: interval },
__interval_ms: { text: intervalMs, value: intervalMs },
},
}; };
} }
......
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