Pārlūkot izejas kodu

small fix to the small fix

Max Klein 6 gadi atpakaļ
vecāks
revīzija
39e8dcc6cb
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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 });
         })