mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-22 03:47:09 +00:00
Fix load departments in not Pro (#7333)
* 01 fix only isPro load departments * 02 fix transfer repo
This commit is contained in:
@@ -171,8 +171,8 @@ class Item extends Component {
|
||||
});
|
||||
};
|
||||
|
||||
onTransferRepo = (owner, reshare) => {
|
||||
systemAdminAPI.sysAdminTransferRepo(this.props.repo.id, owner.email, reshare).then((res) => {
|
||||
onTransferRepo = (email, reshare) => {
|
||||
systemAdminAPI.sysAdminTransferRepo(this.props.repo.id, email, reshare).then((res) => {
|
||||
this.props.onTransferRepo(res.data);
|
||||
let message = gettext('Successfully transferred the library.');
|
||||
toaster.success(message);
|
||||
|
Reference in New Issue
Block a user