mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-03 07:55:36 +00:00
corrent logic for check generate share link, and share link permissions (#4121)
This commit is contained in:
@@ -129,6 +129,7 @@ class ShareDialog extends React.Component {
|
||||
itemPath={this.props.itemPath}
|
||||
repoID={this.props.repoID}
|
||||
closeShareDialog={this.props.toggleDialog}
|
||||
itemType={itemType}
|
||||
/>
|
||||
</TabPane>
|
||||
}
|
||||
@@ -166,6 +167,7 @@ class ShareDialog extends React.Component {
|
||||
|
||||
renderFileContent = () => {
|
||||
let activeTab = this.state.activeTab;
|
||||
const { itemType } = this.props;
|
||||
|
||||
return (
|
||||
<Fragment>
|
||||
@@ -190,6 +192,7 @@ class ShareDialog extends React.Component {
|
||||
itemPath={this.props.itemPath}
|
||||
repoID={this.props.repoID}
|
||||
closeShareDialog={this.props.toggleDialog}
|
||||
itemType={itemType}
|
||||
/>
|
||||
</TabPane>
|
||||
{activeTab === 'internalLink' &&
|
||||
|
Reference in New Issue
Block a user