1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-06 09:21:54 +00:00

[share] offered 'internal link' for files and folders in encrypted libraries (#4621)

* offered 'share' for encrypted library in 'dir view' page
This commit is contained in:
llj
2020-07-21 11:16:33 +08:00
committed by GitHub
parent d93a55b32b
commit dccddea02f
6 changed files with 32 additions and 15 deletions

View File

@@ -1286,7 +1286,7 @@ export const Utils = {
let isRepoOwner = ownerEmail === username;
if (repoEncrypted) {
return false;
return true;
}
if (dirent && dirent.type === 'file') {