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

Fix issue with value disappearing when selecting stat

Peter Holmberg 7 лет назад
Родитель
Сommit
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: [],
   },