This commit is contained in:
Davide Punzo 2021-04-21 10:35:27 +02:00
parent e421bc7df9
commit 21a5d1bfc4
2 changed files with 2 additions and 1 deletions

View File

@ -243,6 +243,7 @@ const SegmentationPanel = ({
labelMapList: [],
segmentList: [],
isDisabled: true,
selectedSegmentation: -1,
}));
}

View File

@ -3,7 +3,7 @@ import Select from 'react-select';
const SegmentationSelect = ({ value, formatOptionLabel, options }) => (
<Select
value={value}
value={value === undefined ? null : value}
formatOptionLabel={formatOptionLabel}
styles={segmentationSelectStyles}
options={options}