mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-02 07:27:04 +00:00
update call api
This commit is contained in:
@@ -225,7 +225,7 @@ class ShareToGroup extends React.Component {
|
||||
this.updateSharedItems(item, permission);
|
||||
})
|
||||
} else {
|
||||
seafileAPI.updateFolderSharedToGroupPerm(repoID, path, 'group', permission, groupID).then(() => {
|
||||
seafileAPI.updateShareToGroupItemPermission(repoID, path, 'group', groupID, permission).then(() => {
|
||||
this.updateSharedItems(item, permission);
|
||||
});
|
||||
}
|
||||
@@ -248,8 +248,8 @@ class ShareToGroup extends React.Component {
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th style={{'width': '50%'}}>{gettext('Group')}</th>
|
||||
<th style={{'width': '30%'}}>{gettext('Permission')}</th>
|
||||
<th style={{'width': '40%'}}>{gettext('Group')}</th>
|
||||
<th style={{'width': '40%'}}>{gettext('Permission')}</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
<tr>
|
||||
|
Reference in New Issue
Block a user