1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-03 07:55:36 +00:00

move share dialog (#2995)

This commit is contained in:
Michael An
2019-02-25 18:17:04 +08:00
committed by Daniel Pan
parent 4438708040
commit 949f3fc7b3
4 changed files with 47 additions and 39 deletions

View File

@@ -14,7 +14,10 @@ const propTypes = {
itemName: PropTypes.string.isRequired,
itemPath: PropTypes.string.isRequired,
toggleDialog: PropTypes.func.isRequired,
repoID: PropTypes.string.isRequired
repoID: PropTypes.string.isRequired,
repoEncrypted: PropTypes.bool,
userPerm: PropTypes.string,
enableDirPrivateShare: PropTypes.bool,
};
class ShareDialog extends React.Component {
@@ -94,7 +97,7 @@ class ShareDialog extends React.Component {
itemPath={this.props.itemPath}
repoID={this.props.repoID}
closeShareDialog={this.props.toggleDialog}
/>
/>
</TabPane>
}
{enableUploadLink &&