mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-03 22:23:16 +00:00
This commit is contained in:
parent
40a9c67875
commit
c65a504ffd
@ -10,7 +10,7 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
import { Button, Col, Form, Row, Select, Space } from 'antd';
|
import { Button, Col, Form, Row, Select, Space, Typography } from 'antd';
|
||||||
import { ColumnsType } from 'antd/lib/table';
|
import { ColumnsType } from 'antd/lib/table';
|
||||||
import { AxiosError } from 'axios';
|
import { AxiosError } from 'axios';
|
||||||
import { isEmpty } from 'lodash';
|
import { isEmpty } from 'lodash';
|
||||||
@ -115,6 +115,7 @@ export const TestSuites = () => {
|
|||||||
title: t('label.name'),
|
title: t('label.name'),
|
||||||
dataIndex: 'name',
|
dataIndex: 'name',
|
||||||
key: 'name',
|
key: 'name',
|
||||||
|
width: 600,
|
||||||
sorter: (a, b) => {
|
sorter: (a, b) => {
|
||||||
if (a.basic) {
|
if (a.basic) {
|
||||||
// Sort for basic test suites
|
// Sort for basic test suites
|
||||||
@ -133,28 +134,34 @@ export const TestSuites = () => {
|
|||||||
},
|
},
|
||||||
sortDirections: ['ascend', 'descend'],
|
sortDirections: ['ascend', 'descend'],
|
||||||
render: (name, record) => {
|
render: (name, record) => {
|
||||||
return record.basic ? (
|
return (
|
||||||
<Link
|
<Typography.Paragraph className="m-0" style={{ maxWidth: 580 }}>
|
||||||
data-testid={name}
|
{record.basic ? (
|
||||||
to={{
|
<Link
|
||||||
pathname: getEntityDetailsPath(
|
data-testid={name}
|
||||||
EntityType.TABLE,
|
to={{
|
||||||
record.basicEntityReference?.fullyQualifiedName ?? '',
|
pathname: getEntityDetailsPath(
|
||||||
EntityTabs.PROFILER
|
EntityType.TABLE,
|
||||||
),
|
record.basicEntityReference?.fullyQualifiedName ?? '',
|
||||||
search: QueryString.stringify({
|
EntityTabs.PROFILER
|
||||||
activeTab: TableProfilerTab.DATA_QUALITY,
|
),
|
||||||
}),
|
search: QueryString.stringify({
|
||||||
}}>
|
activeTab: TableProfilerTab.DATA_QUALITY,
|
||||||
{record.basicEntityReference?.fullyQualifiedName ??
|
}),
|
||||||
record.basicEntityReference?.name}
|
}}>
|
||||||
</Link>
|
{record.basicEntityReference?.fullyQualifiedName ??
|
||||||
) : (
|
record.basicEntityReference?.name}
|
||||||
<Link
|
</Link>
|
||||||
data-testid={name}
|
) : (
|
||||||
to={getTestSuitePath(record.fullyQualifiedName ?? record.name)}>
|
<Link
|
||||||
{getEntityName(record)}
|
data-testid={name}
|
||||||
</Link>
|
to={getTestSuitePath(
|
||||||
|
record.fullyQualifiedName ?? record.name
|
||||||
|
)}>
|
||||||
|
{getEntityName(record)}
|
||||||
|
</Link>
|
||||||
|
)}
|
||||||
|
</Typography.Paragraph>
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user