Просмотр исходного кода

Replacing variable interpolation in "All value" value

Francisco Guimarães 7 лет назад
Родитель
Сommit
d58986872c
1 измененных файлов с 1 добавлено и 1 удалено
  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);
         }
       }