1
0
Fork 0

chore(components): Don't load docs in DraftConfigurator

This commit is contained in:
Joost De Cock 2020-03-08 16:36:43 +01:00
parent 84606dbcea
commit bffdc377bf

View file

@ -3,7 +3,6 @@ import PropTypes from 'prop-types'
import IconButton from '@material-ui/core/IconButton' import IconButton from '@material-ui/core/IconButton'
import RightIcon from '@material-ui/icons/KeyboardArrowRight' import RightIcon from '@material-ui/icons/KeyboardArrowRight'
import ResetIcon from '@material-ui/icons/SettingsBackupRestore' import ResetIcon from '@material-ui/icons/SettingsBackupRestore'
import HelpIcon from '@material-ui/icons/Help'
import { injectIntl } from 'react-intl' import { injectIntl } from 'react-intl'
const OptionPreamble = props => { const OptionPreamble = props => {
@ -88,17 +87,6 @@ const OptionPreamble = props => {
> >
<ResetIcon /> <ResetIcon />
</IconButton> </IconButton>
{props.noDocs ? null : (
<IconButton
title={docsLabel}
aria-label={docsLabel}
color="primary"
onClick={props.showHelp}
className="mini-icon-btn"
>
<HelpIcon />
</IconButton>
)}
</div> </div>
</div> </div>
{props.option} {props.option}