1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-01 23:20:51 +00:00

conflict fixed

This commit is contained in:
shanshuirenjia
2020-04-01 11:19:09 +08:00
25 changed files with 369 additions and 76 deletions

View File

@@ -279,8 +279,8 @@ class ShareToGroup extends React.Component {
let sharedItemGroupID = sharedItem.group_info.id;
if (groupID === sharedItemGroupID) {
sharedItem.permission = permission;
sharedItem.is_admin = permission === 'admin' ? true : false;
}
sharedItem.is_admin = permission === 'admin' ? true : false;
return sharedItem;
});
this.setState({sharedItems: sharedItems});