make resizeNotifier optional in MainSplit for GroupView
This commit is contained in:
parent
adf263c4af
commit
82e44249ff
1 changed files with 3 additions and 1 deletions
|
@ -27,8 +27,10 @@ export default class MainSplit extends React.Component {
|
||||||
|
|
||||||
_onResized(size) {
|
_onResized(size) {
|
||||||
window.localStorage.setItem("mx_rhs_size", size);
|
window.localStorage.setItem("mx_rhs_size", size);
|
||||||
|
if (this.props.resizeNotifier) {
|
||||||
this.props.resizeNotifier.notifyRightHandleResized();
|
this.props.resizeNotifier.notifyRightHandleResized();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
_createResizer() {
|
_createResizer() {
|
||||||
const classNames = {
|
const classNames = {
|
||||||
|
|
Loading…
Reference in a new issue