fix(segmentation): remove thresholdRange label in double-range tool settings (#5931)

This commit is contained in:
Ghadeer Albattarni 2026-05-19 14:45:25 -04:00 committed by GitHub
parent 64fa240dfa
commit 527cfb0ae8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -118,15 +118,8 @@ const renderRadioSetting = option => {
function renderDoubleRangeSetting(option) { function renderDoubleRangeSetting(option) {
return ( return (
<div
className="flex items-center"
key={option.id}
>
<div className="w-1/3 text-[13px]">
{renderLabelWithTooltip(option.name, option.tooltip)}
</div>
<div className="w-2/3">
<RowDoubleRange <RowDoubleRange
key={option.id}
values={option.value} values={option.value}
onChange={option.onChange} onChange={option.onChange}
minValue={option.min} minValue={option.min}
@ -135,8 +128,6 @@ function renderDoubleRangeSetting(option) {
showLabel={false} showLabel={false}
tooltip={option.tooltip} tooltip={option.tooltip}
/> />
</div>
</div>
); );
} }
@ -225,9 +216,7 @@ const renderSelectSetting = option => {
className="flex items-center" className="flex items-center"
key={option.id} key={option.id}
> >
<div className="w-1/3 text-[13px]"> <div className="w-1/3 text-[13px]">{renderLabelWithTooltip(option.name, option.tooltip)}</div>
{renderLabelWithTooltip(option.name, option.tooltip)}
</div>
<div className="w-2/3"> <div className="w-2/3">
<Select <Select
onValueChange={value => option.onChange?.(value)} onValueChange={value => option.onChange?.(value)}