This commit is contained in:
Davide Punzo committed 2021-04-21 10:40:02 +02:00
1 parent e421bc7df9
commit 21a5d1bfc4
2 files changed
+2 -1

No files matched your search

@@ -243,6 +243,7 @@ const SegmentationPanel = ({
labelMapList: [], labelMapList: [],
segmentList: [], segmentList: [],
isDisabled: true, isDisabled: true,
selectedSegmentation: -1,
})); }));
} }
@@ -3,7 +3,7 @@ import Select from 'react-select';
const SegmentationSelect = ({ value, formatOptionLabel, options }) => ( const SegmentationSelect = ({ value, formatOptionLabel, options }) => (
<Select <Select
value={value} value={value === undefined ? null : value}
formatOptionLabel={formatOptionLabel} formatOptionLabel={formatOptionLabel}
styles={segmentationSelectStyles} styles={segmentationSelectStyles}
options={options} options={options}