File tree Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 66! dist /swagger-ui.js.map
77! dist /swagger-ui.css
88! dist /swagger-ui.css.map
9+ ! dist /oauth2-redirect.html
Original file line number Diff line number Diff line change 11import React , { PureComponent } from "react"
2+ import ImPropTypes from "react-immutable-proptypes"
23import PropTypes from "prop-types"
34
45export default class Model extends PureComponent {
56 static propTypes = {
6- schema : PropTypes . object . isRequired ,
7+ schema : ImPropTypes . orderedMap . isRequired ,
78 getComponent : PropTypes . func . isRequired ,
89 specSelectors : PropTypes . object . isRequired ,
910 name : PropTypes . string ,
Original file line number Diff line number Diff line change @@ -142,12 +142,13 @@ export default class ObjectModel extends Component {
142142 : < tr >
143143 < td > { "not ->" } </ td >
144144 < td >
145- { not . map ( ( schema , k ) => {
146- return < div key = { k } > < Model { ...otherProps } required = { false }
147- getComponent = { getComponent }
148- schema = { schema }
149- depth = { depth + 1 } /> </ div >
150- } ) }
145+ < div >
146+ < Model { ...otherProps }
147+ required = { false }
148+ getComponent = { getComponent }
149+ schema = { not }
150+ depth = { depth + 1 } />
151+ </ div >
151152 </ td >
152153 </ tr >
153154 }
You can’t perform that action at this time.
0 commit comments