File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
frontend/src/components/Connect/List Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 11import React from 'react' ;
22import useAppParams from 'lib/hooks/useAppParams' ;
33import { clusterConnectConnectorPath , ClusterNameRoute } from 'lib/paths' ;
4- import Table , { TagCell } from 'components/common/NewTable' ;
4+ import Table , { LinkCell , TagCell } from 'components/common/NewTable' ;
55import { FullConnectorInfo } from 'generated-sources' ;
66import { useConnectors } from 'lib/hooks/api/kafkaConnect' ;
77import { ColumnDef } from '@tanstack/react-table' ;
@@ -18,14 +18,14 @@ const kafkaConnectColumns: ColumnDef<FullConnectorInfo>[] = [
1818 {
1919 header : 'Name' ,
2020 accessorKey : 'name' ,
21- cell : BreakableTextCell ,
22- // cell: ({ getValue }) => (
23- // <LinkCell
24- // wordBreak
25- // value={`${getValue<string | number>()}`}
26- // to={encodeURIComponent(`${getValue<string | number>()}`)}
27- // />
28- // ),
21+ // cell: BreakableTextCell,
22+ cell : ( { getValue } ) => (
23+ < LinkCell
24+ wordBreak
25+ value = { `${ getValue < string | number > ( ) } ` }
26+ to = { encodeURIComponent ( `${ getValue < string | number > ( ) } ` ) }
27+ />
28+ ) ,
2929 enableResizing : true ,
3030 } ,
3131 {
You can’t perform that action at this time.
0 commit comments