mirror of
https://github.com/grafana/grafana.git
synced 2026-09-05 04:40:13 -05:00
Graphite: fixed variable quoting when variable value is nummeric, fixes #2078
This commit is contained in:
@@ -172,7 +172,7 @@ export function TemplateSrvStub(this: any) {
|
||||
this.variables = [];
|
||||
this.templateSettings = { interpolate: /\[\[([\s\S]+?)\]\]/g };
|
||||
this.data = {};
|
||||
this.replace = function(text: string) {
|
||||
this.replace = (text: string) => {
|
||||
return _.template(text, this.templateSettings)(this.data);
|
||||
};
|
||||
this.init = () => {};
|
||||
|
||||
Reference in New Issue
Block a user