Use destructuring synyax to get displayOperationId
This commit is contained in:
@@ -38,8 +38,7 @@ export default class Operations extends React.Component {
|
|||||||
const Collapse = getComponent("Collapse")
|
const Collapse = getComponent("Collapse")
|
||||||
|
|
||||||
let showSummary = layoutSelectors.showSummary()
|
let showSummary = layoutSelectors.showSummary()
|
||||||
let { docExpansion } = getConfigs()
|
let { docExpansion, displayOperationId } = getConfigs()
|
||||||
displayOperationId = getConfigs().displayOperationId
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
|
|||||||
Reference in New Issue
Block a user