mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-04 00:20:07 +00:00
['share' dialog] fixup for 'get initial active tab' (#7140)
This commit is contained in:
@@ -66,7 +66,7 @@ class ShareDialog extends React.Component {
|
||||
|
||||
if (enableShareLink) {
|
||||
return 'shareLink';
|
||||
} else if (enableUploadLink) {
|
||||
} else if (itemType != 'file' && enableUploadLink) {
|
||||
return 'uploadLink';
|
||||
} else if (itemType == 'file' || itemType == 'dir') {
|
||||
return 'internalLink';
|
||||
|
Reference in New Issue
Block a user