Explorar o código

remove printed index

Peter Holmberg %!s(int64=7) %!d(string=hai) anos
pai
achega
98490084a1
Modificáronse 1 ficheiros con 2 adicións e 6 borrados
  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>
       );
     });