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:
@@ -1286,7 +1286,7 @@ export const Utils = {
|
||||
let isRepoOwner = ownerEmail === username;
|
||||
|
||||
if (repoEncrypted) {
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
if (dirent && dirent.type === 'file') {
|
||||
|
Reference in New Issue
Block a user