Skip to content

Commit 363904b

Browse files
lukaszzazulakkirill-of-turov
authored andcommitted
fix(core): remove mistakenly put condition (swagger-api#10212) (swagger-api#10730)
1 parent 3cfe8c4 commit 363904b

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/core/containers/OperationContainer.jsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,12 @@ export default class OperationContainer extends PureComponent {
9393
componentDidUpdate(prevProps) {
9494
const { response, isShown } = this.props
9595
const resolvedSubtree = this.getResolvedSubtree()
96-
96+
9797
if (response !== prevProps.response) {
9898
this.setState({ executeInProgress: false })
9999
}
100-
101-
if (isShown && resolvedSubtree === undefined && !prevProps.isShown) {
100+
101+
if (isShown && resolvedSubtree === undefined) {
102102
this.requestResolvedSubtree()
103103
}
104104
}
@@ -132,7 +132,7 @@ export default class OperationContainer extends PureComponent {
132132
jsonRequestBodyValue[key] = jsonRequestBodyValue[key].map((val) => {
133133
if (typeof val === "object") {
134134
return JSON.stringify(val, null, 2)
135-
}
135+
}
136136
return val
137137
})
138138
} else if (typeof value === "object") {

0 commit comments

Comments
 (0)