ソースを参照

fix(Models): onLoad should check this.props.layoutSelectors method (#6307)

ref #6305
bubble
Tim Lai 4年前
committed by GitHub
コミット
168d0ae7ac
この署名に対応する既知のキーがデータベースに存在しません GPGキーID: 4AEE18F83AFDEB23
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      src/core/components/model-collapse.jsx

+ 1
- 1
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()


読み込み中…
キャンセル
保存