Skip to content

Commit

Permalink
fix: Fix error content in storage class create modal
Browse files Browse the repository at this point in the history
  • Loading branch information
leoliu committed Jun 8, 2020
1 parent 0f3c8da commit 3f7ff79
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
*/

import React from 'react'
import { get, set } from 'lodash'
import { get, set, omit } from 'lodash'
import { Form } from 'components/Base'
import { CardSelect } from 'components/Inputs'
import CardSelect from 'components/Inputs/CardSelect'
import { MODULE_KIND_MAP, PROVISIONERS } from 'utils/constants'

import styles from './index.scss'
Expand All @@ -42,7 +42,7 @@ export default class ProvisionerSettings extends React.Component {
}

provisionersOptions = [
...PROVISIONERS,
...PROVISIONERS.map(item => omit(item, ['description'])),
{ label: t('Custom'), value: '', icon: 'hammer' },
]

Expand Down

0 comments on commit 3f7ff79

Please sign in to comment.