Browse Source

use appName when restoring workspaces (#10724)

Nicholas Bollweg 3 years ago
parent
commit
4e81accfe7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/apputils-extension/src/index.ts

+ 1 - 1
packages/apputils-extension/src/index.ts

@@ -335,7 +335,7 @@ async function updateTabTitle(workspace: string, db: IStateDB, name: string) {
   const data: any = await db.toJSON();
   let current: string = data['layout-restorer:data']?.main?.current;
   if (current === undefined) {
-    document.title = `JupyterLab${
+    document.title = `${PageConfig.getOption('appName') || 'JupyterLab'}${
       workspace.startsWith('auto-') ? ` (${workspace})` : ``
     }`;
   } else {