Commit 4bb13fd 1 parent a61532b commit 4bb13fd Copy full SHA for 4bb13fd
File tree 1 file changed +3
-8
lines changed
1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ import errorIcon from '../../style/icons/error_icon.svg';
56
56
import { Select } from '../controls/MuiWrappedSelect' ;
57
57
import { Input } from '../controls/MuiWrappedInput' ;
58
58
import { Radio } from '@mui/material' ;
59
- // import { Dropdown } from '../controls/MuiWrappedDropdown';
59
+ import { Dropdown } from '../controls/MuiWrappedDropdown' ;
60
60
61
61
type Project = {
62
62
projectId : string ;
@@ -279,9 +279,7 @@ function CreateBatch({
279
279
useState ( [ ...pythonFileUris ] ) ;
280
280
const [ mainPythonSelected , setMainPythonSelected ] =
281
281
useState ( mainPythonFileUri ) ;
282
- const [ clustersList , setClustersList ] = useState <
283
- Array < { key : string ; value : string ; text : string } >
284
- > ( [ ] ) ;
282
+ const [ clustersList , setClustersList ] = useState < string [ ] > ( [ ] ) ;
285
283
const [ additionalPythonFileValidation , setAdditionalPythonFileValidation ] =
286
284
useState ( true ) ;
287
285
const [ jarFileValidation , setJarFileValidation ] = useState ( true ) ;
@@ -2055,14 +2053,11 @@ function CreateBatch({
2055
2053
>
2056
2054
History server cluster
2057
2055
</ label >
2058
- < Select
2056
+ < Dropdown
2059
2057
className = "project-region-select"
2060
- search
2061
- selection
2062
2058
value = { clusterSelected }
2063
2059
onChange = { handleClusterSelected }
2064
2060
options = { clustersList }
2065
- placeholder = ""
2066
2061
/>
2067
2062
</ div >
2068
2063
You can’t perform that action at this time.
0 commit comments