4
4
*/
5
5
6
6
import { CheckCircleOutlined , ClockCircleOutlined , CloseCircleOutlined , SyncOutlined } from '@ant-design/icons' ;
7
- import { Button , Popover , Table , Tag , Typography } from 'antd' ;
7
+ import { Button , Popover , Table , Tag } from 'antd' ;
8
8
import { ColumnsType } from 'antd/es/table' ;
9
9
import { ColumnFilterItem } from 'antd/es/table/interface' ;
10
10
import React from 'react' ;
@@ -17,11 +17,10 @@ import {
17
17
taskType ,
18
18
VendorHostedDeployedServiceDetails ,
19
19
} from '../../../../xpanse-api/generated' ;
20
+ import { ShowId } from '../../order/common/ShowId.tsx' ;
20
21
import { MyServiceHistoryDetails } from './MyServiceHistoryDetails.tsx' ;
21
22
import useListServiceOrdersHistoryQuery from './query/useListServiceModifyHistoryQuery.ts' ;
22
23
23
- const { Paragraph } = Typography ;
24
-
25
24
export const MyServiceHistory = ( {
26
25
deployedService,
27
26
} : {
@@ -87,17 +86,7 @@ export const MyServiceHistory = ({
87
86
filterSearch : true ,
88
87
onFilter : ( value : React . Key | boolean , record ) => record . orderId . startsWith ( value . toString ( ) ) ,
89
88
render : ( value : string ) => {
90
- return (
91
- < div className = { serviceOperationStyles . serviceHistoryValue } >
92
- < Paragraph
93
- className = { serviceOperationStyles . serviceHistoryOrderIdClass }
94
- ellipsis = { true }
95
- copyable = { { tooltips : value } }
96
- >
97
- { value }
98
- </ Paragraph >
99
- </ div >
100
- ) ;
89
+ return < ShowId id = { value } /> ;
101
90
} ,
102
91
} ,
103
92
{
0 commit comments