Skip to content

Commit

Permalink
apply options to initial instance
Browse files Browse the repository at this point in the history
  • Loading branch information
Maximillian committed Sep 20, 2019
1 parent 9aa4205 commit 5097031
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 5097031

Please sign in to comment.