1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-31 14:42:10 +00:00

fix-system-admin-repo-owner-link (#7463)

This commit is contained in:
Michael An
2025-02-17 11:53:56 +08:00
committed by GitHub
parent e85866b7a9
commit 9c992dbfc2
2 changed files with 2 additions and 2 deletions

View File

@@ -17,7 +17,7 @@ function EmptyTip({ className = '', title, text, children }) {
EmptyTip.propTypes = {
className: PropTypes.string,
title: PropTypes.string,
text: PropTypes.string,
text: PropTypes.any,
children: PropTypes.any,
};

View File

@@ -334,7 +334,7 @@ class Item extends Component {
<td>{repo.id}</td>
<td>
{isGroupOwnedRepo ?
<Link to={`${siteRoot}sys/departments/${departmentID}/`}>{repo.owner_name}</Link> :
<Link to={`${siteRoot}sys/groups/${departmentID}/libraries/`}>{repo.owner_name}</Link> :
<UserLink email={repo.owner_email} name={repo.owner_name} />
}
</td>