File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -392,7 +392,7 @@ export default function ResourcesTable({
392
392
} ,
393
393
cell : ( { row } ) => {
394
394
const resourceRow = row . original as ResourceRow & {
395
- targets ?: { host : string ; port : number } [ ] ;
395
+ targets ?: { ip : string ; port : number } [ ] ;
396
396
} ;
397
397
398
398
const targets = resourceRow . targets ?? [ ] ;
@@ -418,12 +418,10 @@ export default function ResourcesTable({
418
418
419
419
< DropdownMenuContent align = "start" className = "min-w-[200px]" >
420
420
{ targets . map ( ( target , idx ) => {
421
- const key = `${ resourceRow . id } :${ target . host } :${ target . port } ` ;
422
-
423
421
return (
424
422
< DropdownMenuItem key = { idx } className = "flex items-center gap-2" >
425
423
< CopyToClipboard
426
- text = { `${ target . host } :${ target . port } ` }
424
+ text = { `${ target . ip } :${ target . port } ` }
427
425
isLink = { false }
428
426
/>
429
427
</ DropdownMenuItem >
You can’t perform that action at this time.
0 commit comments