Преглед изворни кода

Fix issue with value disappearing when selecting stat

Peter Holmberg пре 7 година
родитељ
комит
44e2fd4b22
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      public/app/plugins/panel/gauge/module.tsx

+ 2 - 2
public/app/plugins/panel/gauge/module.tsx

@@ -38,8 +38,8 @@ export const defaultProps = {
     showThresholdLabels: false,
     suffix: '',
     decimals: 0,
-    stat: '',
-    unit: '',
+    stat: 'avg',
+    unit: 'none',
     mappings: [],
     thresholds: [],
   },