Explorar o código

activate filebrowser when opening a directory

Max Klein %!s(int64=6) %!d(string=hai) anos
pai
achega
822da8bf55
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 });
         })