Skip to content

Commit

Permalink
#6214 fix uiOptionsModel undefined case
Browse files Browse the repository at this point in the history
  • Loading branch information
piorek committed Feb 7, 2018
1 parent f14844e commit 855329a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions js/notebook/src/tree/Models/TreeWidgetModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,10 @@ export default class TreeWidgetModel {

this.jvmOptionsModel
.update(data.jvm_options);
this.uiOptionsModel
.update(data.ui_options);
if (!!this.uiOptionsModel) {
this.uiOptionsModel
.update(data.ui_options);
}

this.showResult(data.jvm_options);

Expand Down

0 comments on commit 855329a

Please sign in to comment.