@@ -10,15 +10,14 @@ import {
10
10
ButtonStyleType ,
11
11
ButtonVariantType ,
12
12
ComponentSizeType ,
13
- getAlphabetIcon ,
14
13
handleAnalyticsEvent ,
15
14
Icon ,
16
15
ImageWithFallback ,
17
16
PortalContainer ,
18
17
SearchBar ,
19
18
SERVER_MODE ,
20
19
stringComparatorBySortOrder ,
21
- Tooltip ,
20
+ UserIdentifier ,
22
21
} from '@devtron-labs/devtron-fe-common-lib'
23
22
24
23
import { getAppId } from '@Components/v2/appDetails/k8Resource/nodeDetail/nodeDetail.api'
@@ -63,14 +62,7 @@ const PresetValuesTableIconCellComponent = () => (
63
62
const PresetValuesTableLastUpdatedByCellComponent = ( { row } : PresetValuesTableCellComponentProps ) => {
64
63
const { updatedBy } = row . data
65
64
66
- return (
67
- < span className = "flex left" >
68
- { updatedBy && getAlphabetIcon ( updatedBy ) }
69
- < Tooltip content = { updatedBy } >
70
- < span className = "fs-13 lh-20 cn-9 dc__truncate" > { updatedBy || '-' } </ span >
71
- </ Tooltip >
72
- </ span >
73
- )
65
+ return < UserIdentifier identifier = { updatedBy } />
74
66
}
75
67
76
68
const PresetValuesTableUpdatedAtCellComponent = ( { row } : PresetValuesTableCellComponentProps ) => {
@@ -264,14 +256,7 @@ const DeploymentsTableStatusCellComponent = ({ row }: DeploymentsTableCellCompon
264
256
const DeploymentsTableDeployedByCellComponent = ( { row } : DeploymentsTableCellComponentProps ) => {
265
257
const { deployedBy } = row . data
266
258
267
- return (
268
- < span className = "flex left" >
269
- { deployedBy && getAlphabetIcon ( deployedBy ) }
270
- < Tooltip content = { deployedBy } >
271
- < span className = "fs-13 lh-20 cn-9 dc__truncate" > { deployedBy || '-' } </ span >
272
- </ Tooltip >
273
- </ span >
274
- )
259
+ return < UserIdentifier identifier = { deployedBy } />
275
260
}
276
261
277
262
const DeploymentsTableDeployedAtCellComponent = ( { row } : DeploymentsTableCellComponentProps ) => {
0 commit comments