Add application to Resource.

This commit is contained in:
Yang Luo
2021-09-04 16:50:26 +08:00
parent 5d98cc6ac5
commit 015961bc3c
4 changed files with 27 additions and 9 deletions

View File

@ -128,6 +128,20 @@ class ResourceListPage extends React.Component {
width: '80px',
sorter: (a, b) => a.tag.localeCompare(b.tag),
},
{
title: i18next.t("resource:Application"),
dataIndex: 'application',
key: 'application',
width: '80px',
sorter: (a, b) => a.application.localeCompare(b.application),
render: (text, record, index) => {
return (
<Link to={`/applications/${text}`}>
{text}
</Link>
)
}
},
{
title: i18next.t("resource:Parent"),
dataIndex: 'parent',