1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-02 07:27:04 +00:00

repair file view bug

This commit is contained in:
shanshuirenjia
2018-12-14 21:52:54 +08:00
parent 853659cdc6
commit d7564bcbba
6 changed files with 9 additions and 9 deletions

View File

@@ -142,7 +142,7 @@ class ShareToGroup extends React.Component {
let path = this.props.itemPath;
let repoID = this.props.repoID;
if (this.props.isGroupOwnedRepo) {
seafileAPI.deleteGroupOwnedRepoGroupShared(repoID, groupID).then(() => {
seafileAPI.deleteGroupOwnedRepoSharedGroupItem(repoID, groupID).then(() => {
this.setState({
sharedItems: this.state.sharedItems.filter(item => { return item.group_info.id !== groupID; })
});