فهرست منبع

activate filebrowser when opening a directory

Max Klein 6 سال پیش
والد
کامیت
822da8bf55
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;
+            return commands.execute(CommandIDs.showBrowser, { path: model.path });
           }
           return commands.execute('docmanager:open', { path });
         })