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:
@@ -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,
|
||||
};
|
||||
|
||||
|
@@ -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>
|
||||
|
Reference in New Issue
Block a user