1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-10 03:11:07 +00:00

decodeURIComponent email (#5397)

This commit is contained in:
mrwangjianhui
2023-03-11 15:54:03 +08:00
committed by GitHub
parent ac345cf3d4
commit 988bedbdb9
8 changed files with 21 additions and 13 deletions

View File

@@ -24,7 +24,8 @@ class OrgUserOwnedRepos extends Component {
}
componentDidMount() {
seafileAPI.orgAdminGetOrgUserOwnedRepos(orgID, this.props.email).then((res) => {
const email = decodeURIComponent(this.props.email);
seafileAPI.orgAdminGetOrgUserOwnedRepos(orgID, email).then((res) => {
this.setState(Object.assign({
loading: false
}, res.data));