1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-01 15:09:14 +00:00

[file share] fixup for 'internal link' (#4637)

This commit is contained in:
llj
2020-08-04 07:37:58 +08:00
committed by GitHub
parent c86ec2fbb2
commit ec3d7434f2
2 changed files with 4 additions and 5 deletions

View File

@@ -65,7 +65,7 @@ class FileToolbar extends React.Component {
let showShareBtn = false;
if (repoEncrypted) {
showShareBtn = true; // for internal link
} else if ((filePerm == 'rw' || filePerm == 'r') && canGenerateShareLink) {
} else if (filePerm == 'rw' || filePerm == 'r') {
showShareBtn = true;
}