Parcourir la source

remove printed index

Peter Holmberg il y a 7 ans
Parent
commit
98490084a1
1 fichiers modifiés avec 2 ajouts et 6 suppressions
  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>
       );
     });