Browse Source

Add `?resolve-workspace` to the shareable link produced by the file browser.

Afshin T. Darian 6 years ago
parent
commit
fc1fbdc428
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/filebrowser-extension/src/index.ts

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

@@ -334,7 +334,7 @@ function activateShareFile(
       const path = encodeURI(widget.selectedItems().next().path);
       const tree = PageConfig.getTreeUrl({ workspace: resolver.name });
 
-      Clipboard.copyToSystem(URLExt.join(tree, path));
+      Clipboard.copyToSystem(URLExt.join(tree, path, '?resolve-workspace'));
     },
     isVisible: () =>
       tracker.currentWidget &&