|
@@ -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>
|
|
|
);
|
|
);
|
|
|
});
|
|
});
|