diff --git a/promgen/static/js/promgen.vue.js b/promgen/static/js/promgen.vue.js index 2f1b5f2c7..2a10257e2 100644 --- a/promgen/static/js/promgen.vue.js +++ b/promgen/static/js/promgen.vue.js @@ -188,6 +188,7 @@ Vue.filter("time", function (value, fmtstr = "yyyy-MM-dd HH:mm:ss") { }); Vue.component("promql-query", { + delimiters: ['[[', ']]'], props: ["href", "query", "max"], data: function () { return { diff --git a/promgen/templates/promgen/vue/promql_query.html b/promgen/templates/promgen/vue/promql_query.html index 908478a58..2afc4a11f 100644 --- a/promgen/templates/promgen/vue/promql_query.html +++ b/promgen/templates/promgen/vue/promql_query.html @@ -1,3 +1,3 @@ - {{ count | localize }} + [[ count | localize ]]