Fix links.

This commit is contained in:
Yang Luo
2021-02-12 01:07:23 +08:00
parent ee1e08ae20
commit d30c96038d
3 changed files with 36 additions and 1 deletions

View File

@ -113,12 +113,33 @@ class ApplicationListPage extends React.Component {
)
}
},
{
title: 'Organization',
dataIndex: 'organization',
key: 'organization',
width: '200px',
sorter: (a, b) => a.organization.localeCompare(b.organization),
render: (text, record, index) => {
return (
<a href={`/organizations/${text}`}>
{text}
</a>
)
}
},
{
title: 'Providers',
dataIndex: 'providers',
key: 'providers',
width: '300px',
width: '200px',
sorter: (a, b) => a.providers.localeCompare(b.providers),
render: (text, record, index) => {
return (
<a href={`/providers/${text}`}>
{text}
</a>
)
}
},
{
title: 'Action',