mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix prometheus datasource plugin
This commit is contained in:
parent
7d97f381cf
commit
634699c8e2
@ -295,6 +295,7 @@ export function PrometheusDatasource(instanceSettings, $q, backendSrv, templateS
|
|||||||
}
|
}
|
||||||
|
|
||||||
function renderTemplate(format, data) {
|
function renderTemplate(format, data) {
|
||||||
|
var originalSettings = _.templateSettings;
|
||||||
_.templateSettings = {
|
_.templateSettings = {
|
||||||
interpolate: /\{\{(.+?)\}\}/g
|
interpolate: /\{\{(.+?)\}\}/g
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user