diff --git a/frontend/src/components/SelectDialog.jsx b/frontend/src/components/SelectDialog.jsx index 99916b4d..b3da70e0 100644 --- a/frontend/src/components/SelectDialog.jsx +++ b/frontend/src/components/SelectDialog.jsx @@ -35,10 +35,10 @@ BaseOption.defaultProps = { const Option = ({ option, selected, onClick }) => { return ( { +const SelectDialog = ({ + options, + onHide, + selectionMode, + initialValue, + title, +}) => { const [filter, setFilter] = useState('') const [selection, setSelection] = useState({}) @@ -136,20 +142,43 @@ const SelectDialog = ({ options, onHide, selectionMode, initialValue }) => { } const header = ( - <> - -