mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-19 10:26:17 +00:00
show nickname in revoke org admin success message (#3429)
This commit is contained in:
@@ -109,7 +109,7 @@ class OrgUsers extends Component {
|
|||||||
orgAdminUsers: this.state.orgAdminUsers.filter(item => item.email != email)
|
orgAdminUsers: this.state.orgAdminUsers.filter(item => item.email != email)
|
||||||
});
|
});
|
||||||
let msg = gettext('Successfully revoke the admin permission of %s');
|
let msg = gettext('Successfully revoke the admin permission of %s');
|
||||||
msg = msg.replace('%s', email);
|
msg = msg.replace('%s', res.data.name);
|
||||||
Toast.success(msg);
|
Toast.success(msg);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user