Hide main Responses ContentType picker for OAS3

This commit is contained in:
Kyle Shockey
2017-07-02 23:16:26 -07:00
parent 1e40a20e07
commit 109027935f

View File

@@ -39,13 +39,13 @@ export default class Responses extends React.Component {
<div className="responses-wrapper">
<div className="opblock-section-header">
<h4>Responses</h4>
<label>
{ specSelectors.isOAS3() ? null : <label>
<span>Response content type</span>
<ContentType value={producesValue}
onChange={this.onChangeProducesWrapper}
contentTypes={produces}
className="execute-content-type"/>
</label>
</label> }
</div>
<div className="responses-inner">
{