1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-03 16:10:26 +00:00

update group in real time (#7141)

This commit is contained in:
Jerry Ren
2024-12-04 17:49:42 +08:00
committed by GitHub
parent 3a4db4bf70
commit 90764f9520
12 changed files with 305 additions and 75 deletions

View File

@@ -22,6 +22,7 @@ const propTypes = {
itemType: PropTypes.string.isRequired, // there will be three choose: ['library', 'dir', 'file']
itemName: PropTypes.string.isRequired,
itemPath: PropTypes.string.isRequired,
repo: PropTypes.object,
toggleDialog: PropTypes.func.isRequired,
repoID: PropTypes.string.isRequired,
repoEncrypted: PropTypes.bool,
@@ -86,7 +87,6 @@ class ShareDialog extends React.Component {
};
renderDirContent = () => {
if (!this.state.isRepoJudgemented) {
return <Loading />;
}
@@ -223,6 +223,7 @@ class ShareDialog extends React.Component {
itemPath={this.props.itemPath}
repoID={this.props.repoID}
isRepoOwner={this.state.isRepoOwner}
repo={this.props.repo}
onAddCustomPermissionToggle={this.onAddCustomPermissionToggle}
/>
</TabPane>