fixup for roomsublist fix
parent
fb4a441341
commit
f4e61b2bf1
|
@ -164,7 +164,12 @@ module.exports = React.createClass({
|
|||
|
||||
// load stored sizes
|
||||
Object.entries(this.subListSizes).forEach(([id, size]) => {
|
||||
this.resizer.forHandleWithId(id).resize(size);
|
||||
const handle = this.resizer.forHandleWithId(id);
|
||||
if (handle) {
|
||||
try {
|
||||
handle.resize(size);
|
||||
} catch(_e) {}
|
||||
}
|
||||
});
|
||||
|
||||
this.resizer.attach();
|
||||
|
|
Loading…
Reference in New Issue