1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-18 16:36:15 +00:00

show nickname in revoke org admin success message (#3429)

This commit is contained in:
sniper-py
2019-05-09 14:46:23 +08:00
committed by lian
parent 244233b751
commit 51a14db321

View File

@@ -109,7 +109,7 @@ class OrgUsers extends Component {
orgAdminUsers: this.state.orgAdminUsers.filter(item => item.email != email)
});
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);
});
}