mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-06 13:17:42 +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,
|
LinearProgress,
|
||||||
Select,
|
Select,
|
||||||
} from '@mui/material'
|
} from '@mui/material'
|
||||||
import {} from '@mui/material/Link'
|
|
||||||
import { NavArrowRight } from 'iconoir-react'
|
import { NavArrowRight } from 'iconoir-react'
|
||||||
import { marked } from 'marked'
|
import { marked } from 'marked'
|
||||||
import PropTypes from 'prop-types'
|
import PropTypes from 'prop-types'
|
||||||
@ -91,7 +90,7 @@ const Content = ({ data, setFormData }) => {
|
|||||||
.flat()
|
.flat()
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
[]
|
[providerConfig]
|
||||||
)
|
)
|
||||||
|
|
||||||
const [providerSelected, setProvider] = useState(
|
const [providerSelected, setProvider] = useState(
|
||||||
@ -186,6 +185,9 @@ const Content = ({ data, setFormData }) => {
|
|||||||
value={provisionSelected}
|
value={provisionSelected}
|
||||||
variant="outlined"
|
variant="outlined"
|
||||||
>
|
>
|
||||||
|
<option key="" value="">
|
||||||
|
--
|
||||||
|
</option>
|
||||||
{provisionTypes.map((type) => (
|
{provisionTypes.map((type) => (
|
||||||
<option key={type} value={type}>
|
<option key={type} value={type}>
|
||||||
{type}
|
{type}
|
||||||
|
@ -194,7 +194,9 @@ const Content = ({ data, setFormData }) => {
|
|||||||
value={provisionSelected}
|
value={provisionSelected}
|
||||||
variant="outlined"
|
variant="outlined"
|
||||||
>
|
>
|
||||||
<option key="" value=""></option>
|
<option key="" value="">
|
||||||
|
--
|
||||||
|
</option>
|
||||||
{provisionTypes.map((type) => (
|
{provisionTypes.map((type) => (
|
||||||
<option key={type} value={type}>
|
<option key={type} value={type}>
|
||||||
{type}
|
{type}
|
||||||
|
Loading…
Reference in New Issue
Block a user