瀏覽代碼

Fixes https://github.com/jupyterlab/jupyterlab/issues/7156

Afshin T. Darian 5 年之前
父節點
當前提交
1aaf7e3380
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/application-extension/src/index.tsx

+ 1 - 1
packages/application-extension/src/index.tsx

@@ -254,7 +254,7 @@ const tree: JupyterFrontEndPlugin<void> = {
     const { commands } = app;
     const treePattern = new RegExp(`^${paths.urls.tree}([^?]+)`);
     const workspacePattern = new RegExp(
-      `^${paths.urls.workspaces}[^?\/]+/tree/([^?]+)`
+      `^${paths.urls.workspaces}/[^?/]+/tree/([^?]+)`
     );
 
     commands.addCommand(CommandIDs.tree, {