Ver Fonte

Fix issue with value disappearing when selecting stat

Peter Holmberg há 7 anos atrás
pai
commit
44e2fd4b22
1 ficheiros alterados com 2 adições e 2 exclusões
  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: [],
   },