Use destructuring synyax to get displayOperationId

This commit is contained in:
shockey
2017-06-06 11:18:42 -07:00
committed by GitHub
parent c03210e7d4
commit 68974a95b2

View File

@@ -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>