Explorar o código

Replacing variable interpolation in "All value" value

Francisco Guimarães %!s(int64=7) %!d(string=hai) anos
pai
achega
d58986872c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      public/app/features/templating/template_srv.ts

+ 1 - 1
public/app/features/templating/template_srv.ts

@@ -209,7 +209,7 @@ export class TemplateSrv {
         value = this.getAllValue(variable);
         // skip formatting of custom all values
         if (variable.allValue) {
-          return value;
+          return this.replace(value);
         }
       }