mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-07 09:51:26 +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) {
|
if (enableShareLink) {
|
||||||
return 'shareLink';
|
return 'shareLink';
|
||||||
} else if (enableUploadLink) {
|
} else if (itemType != 'file' && enableUploadLink) {
|
||||||
return 'uploadLink';
|
return 'uploadLink';
|
||||||
} else if (itemType == 'file' || itemType == 'dir') {
|
} else if (itemType == 'file' || itemType == 'dir') {
|
||||||
return 'internalLink';
|
return 'internalLink';
|
||||||
|
Reference in New Issue
Block a user