Explorar el Código

Add blank default options for constant templates (#6460)

Restores ability to change constant templates without going into
templating menu
Ryan Bak hace 9 años
padre
commit
7165c866c2
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      public/app/features/templating/constant_variable.ts

+ 1 - 0
public/app/features/templating/constant_variable.ts

@@ -16,6 +16,7 @@ export class ConstantVariable implements Variable {
     label: '',
     query: '',
     current: {},
+    options: [],
   };
 
   /** @ngInject **/