mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-04 21:30:24 +08:00
Use Link.
This commit is contained in:
@ -140,9 +140,9 @@ class ApplicationListPage extends React.Component {
|
||||
sorter: (a, b) => a.organization.localeCompare(b.organization),
|
||||
render: (text, record, index) => {
|
||||
return (
|
||||
<a href={`/organizations/${text}`}>
|
||||
<Link to={`/organizations/${text}`}>
|
||||
{text}
|
||||
</a>
|
||||
</Link>
|
||||
)
|
||||
}
|
||||
},
|
||||
@ -154,9 +154,9 @@ class ApplicationListPage extends React.Component {
|
||||
sorter: (a, b) => a.providers.localeCompare(b.providers),
|
||||
render: (text, record, index) => {
|
||||
return (
|
||||
<a href={`/providers/${text}`}>
|
||||
<Link to={`/providers/${text}`}>
|
||||
{text}
|
||||
</a>
|
||||
</Link>
|
||||
)
|
||||
}
|
||||
},
|
||||
|
Reference in New Issue
Block a user