Skip to content

Commit

Permalink
fix-system-admin-repo-owner-link (#7463)
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael18811380328 authored Feb 17, 2025
1 parent e85866b commit 9c992db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/empty-tip.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};

Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/sys-admin/repos/repos.js
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 9c992db

Please sign in to comment.