Skip to content

Commit

Permalink
Merge pull request #7251 from meinstein/apply-options-to-initial-inst…
Browse files Browse the repository at this point in the history
…ance

apply all options to initial jlab instance
  • Loading branch information
blink1073 committed Sep 20, 2019
2 parents 9aa4205 + 5097031 commit d427440
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/application/src/lab.ts
Expand Up @@ -25,7 +25,7 @@ export class JupyterLab extends JupyterFrontEnd<ILabShell> {
* Construct a new JupyterLab object.
*/
constructor(options: JupyterLab.IOptions = { shell: new LabShell() }) {
super({ shell: options.shell || new LabShell() });
super({ ...options, shell: options.shell || new LabShell() });
this.restored = this.shell.restored
.then(() => undefined)
.catch(() => undefined);
Expand Down

0 comments on commit d427440

Please sign in to comment.