소스 검색

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

Afshin T. Darian 6 년 전
부모
커밋
fc1fbdc428
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 &&