Peter Holmberg 7 лет назад
Родитель
Сommit
98490084a1
1 измененных файлов с 2 добавлено и 6 удалено
  1. 2 6
      public/app/plugins/panel/gauge/Thresholds.tsx

+ 2 - 6
public/app/plugins/panel/gauge/Thresholds.tsx

@@ -166,18 +166,14 @@ export default class Thresholds extends PureComponent<OptionModuleProps, State>
               height: '50%',
               backgroundColor: t.color,
             }}
-          >
-            {t.index}
-          </div>
+          />
           <div
             onClick={() => this.onAddThreshold(t.index)}
             style={{
               height: '50%',
               backgroundColor: t.color,
             }}
-          >
-            {t.index}
-          </div>
+          />
         </div>
       );
     });