mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-11 20:01:10 +00:00
update transfer repo (#6965)
* update * optimize code * optimize * update sql * test * update * optimize * update UI * change style --------- Co-authored-by: 孙永强 <11704063+s-yongqiang@user.noreply.gitee.com> Co-authored-by: Michael An <2331806369@qq.com>
This commit is contained in:
@@ -168,8 +168,8 @@ class Item extends Component {
|
||||
});
|
||||
};
|
||||
|
||||
onTransferRepo = (owner) => {
|
||||
systemAdminAPI.sysAdminTransferRepo(this.props.repo.id, owner.email).then((res) => {
|
||||
onTransferRepo = (owner, reshare) => {
|
||||
systemAdminAPI.sysAdminTransferRepo(this.props.repo.id, owner.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