Explorar o código

Directory open should use item.path, not item.name

Afshin T. Darian %!s(int64=5) %!d(string=hai) anos
pai
achega
55298bacea
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

@@ -532,7 +532,7 @@ function addCommands(
         toArray(
           map(widget.selectedItems(), item => {
             if (item.type === 'directory') {
-              return widget.model.cd(item.name);
+              return widget.model.cd(item.path);
             }
 
             return commands.execute('docmanager:open', {