mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-22 20:08:19 +00:00
replace code to user-select component (#3033)
This commit is contained in:
@@ -65,8 +65,8 @@ class OrgAdminList extends React.Component {
|
||||
});
|
||||
}
|
||||
|
||||
addOrgAdmin = (users) => {
|
||||
seafileAPI.setOrgAdmin(orgID, users, true).then(res => {
|
||||
addOrgAdmin = (userEmail) => {
|
||||
seafileAPI.setOrgAdmin(orgID, userEmail, true).then(res => {
|
||||
let userInfo = new OrgUserInfo(res.data);
|
||||
this.state.orgAdminUsers.unshift(userInfo);
|
||||
this.setState({
|
||||
|
Reference in New Issue
Block a user