Explorar o código

Singlestat: Disable new singlestat gauge usage (#18610)

Ryan McKinley %!s(int64=6) %!d(string=hai) anos
pai
achega
ffd630ad96
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      public/app/plugins/panel/singlestat/editor.html

+ 1 - 1
public/app/plugins/panel/singlestat/editor.html

@@ -148,7 +148,7 @@
     </div>
   </div>
 
-  <div class="section gf-form-group">
+  <div class="section gf-form-group" ng-if="ctrl.panel.gauge.show">
     <h5 class="section-heading">Gauge</h5>
     <gf-form-switch class="gf-form" label-class="width-10" switch-class="max-width-6" label="Show" checked="ctrl.panel.gauge.show" on-change="ctrl.render()"></gf-form-switch>
     <div ng-if="ctrl.panel.gauge.show">