瀏覽代碼

small fix to the small fix

Max Klein 6 年之前
父節點
當前提交
39e8dcc6cb
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/filebrowser-extension/src/index.ts

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

@@ -431,7 +431,7 @@ function addCommands(
       return Private.navigateToPath(path, factory)
         .then(model => {
           if (model.type === 'directory') {
-            return commands.execute(CommandIDs.showBrowser, { path: model.path });
+            return commands.execute(CommandIDs.showBrowser, { path });
           }
           return commands.execute('docmanager:open', { path });
         })