Tim Lai
4 vuotta sitten
committed by
GitHub
vanhempi
commit
168d0ae7ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 muutettua tiedostoa jossa
1 lisäystä ja
1 poistoa
-
src/core/components/model-collapse.jsx
|
|
@@ -65,7 +65,7 @@ export default class ModelCollapse extends Component { |
|
|
|
} |
|
|
|
|
|
|
|
onLoad = (ref) => { |
|
|
|
if(ref) { |
|
|
|
if (ref && this.props.layoutSelectors) { |
|
|
|
const scrollToKey = this.props.layoutSelectors.getScrollToKey() |
|
|
|
|
|
|
|
if( Im.is(scrollToKey, this.props.specPath) ) this.toggleCollapsed() |
|
|
|