Sfoglia il codice sorgente

remove printed index

Peter Holmberg 7 anni fa
parent
commit
98490084a1
1 ha cambiato i file con 2 aggiunte e 6 eliminazioni
  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%',
               height: '50%',
               backgroundColor: t.color,
               backgroundColor: t.color,
             }}
             }}
-          >
-            {t.index}
-          </div>
+          />
           <div
           <div
             onClick={() => this.onAddThreshold(t.index)}
             onClick={() => this.onAddThreshold(t.index)}
             style={{
             style={{
               height: '50%',
               height: '50%',
               backgroundColor: t.color,
               backgroundColor: t.color,
             }}
             }}
-          >
-            {t.index}
-          </div>
+          />
         </div>
         </div>
       );
       );
     });
     });