mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-05 09:17:41 +03:00
F OpenNebula/One#6769: Fix provider create form (#3291)
This commit is contained in:
parent
e2c54b10a6
commit
0c1bf221ed
@ -21,7 +21,6 @@ import {
|
||||
LinearProgress,
|
||||
Select,
|
||||
} from '@mui/material'
|
||||
import {} from '@mui/material/Link'
|
||||
import { NavArrowRight } from 'iconoir-react'
|
||||
import { marked } from 'marked'
|
||||
import PropTypes from 'prop-types'
|
||||
@ -91,7 +90,7 @@ const Content = ({ data, setFormData }) => {
|
||||
.flat()
|
||||
),
|
||||
],
|
||||
[]
|
||||
[providerConfig]
|
||||
)
|
||||
|
||||
const [providerSelected, setProvider] = useState(
|
||||
@ -186,6 +185,9 @@ const Content = ({ data, setFormData }) => {
|
||||
value={provisionSelected}
|
||||
variant="outlined"
|
||||
>
|
||||
<option key="" value="">
|
||||
--
|
||||
</option>
|
||||
{provisionTypes.map((type) => (
|
||||
<option key={type} value={type}>
|
||||
{type}
|
||||
|
@ -194,7 +194,9 @@ const Content = ({ data, setFormData }) => {
|
||||
value={provisionSelected}
|
||||
variant="outlined"
|
||||
>
|
||||
<option key="" value=""></option>
|
||||
<option key="" value="">
|
||||
--
|
||||
</option>
|
||||
{provisionTypes.map((type) => (
|
||||
<option key={type} value={type}>
|
||||
{type}
|
||||
|
Loading…
Reference in New Issue
Block a user