mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-02 11:39:12 +00:00
UI : Fix the field size of column in Teams Table (#10594)
* Fix the field size of column in Teams Table * change as per comments
This commit is contained in:
parent
6f67cc4a78
commit
bf0d26922e
@ -11,7 +11,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { Modal, Table } from 'antd';
|
||||
import { Modal, Table, Typography } from 'antd';
|
||||
import { ColumnsType } from 'antd/lib/table';
|
||||
import { ExpandableConfig } from 'antd/lib/table/interface';
|
||||
import { AxiosError } from 'axios';
|
||||
@ -90,8 +90,18 @@ const TeamHierarchy: FC<TeamHierarchyProps> = ({
|
||||
{
|
||||
title: t('label.description'),
|
||||
dataIndex: 'description',
|
||||
width: 450,
|
||||
key: 'description',
|
||||
render: (description: string) => description || '--',
|
||||
render: (description: string) => (
|
||||
<Typography.Paragraph
|
||||
className="m-b-0"
|
||||
ellipsis={{
|
||||
rows: 2,
|
||||
}}
|
||||
title={description}>
|
||||
{isEmpty(description) ? '--' : description}
|
||||
</Typography.Paragraph>
|
||||
),
|
||||
},
|
||||
];
|
||||
}, [data, onTeamExpand]);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user