Skip to content

Commit 63475c6

Browse files
authored
Make IP on Floating IPs page copyable (#2501)
1 parent f6e1917 commit 63475c6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/pages/project/floating-ips/FloatingIpsPage.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ import { IpPoolCell } from '~/table/cells/IpPoolCell'
3232
import { useColsWithActions, type MenuAction } from '~/table/columns/action-col'
3333
import { Columns } from '~/table/columns/common'
3434
import { PAGE_SIZE, useQueryTable } from '~/table/QueryTable'
35+
import { CopyableIp } from '~/ui/lib/CopyableIp'
3536
import { CreateLink } from '~/ui/lib/CreateButton'
3637
import { EmptyMessage } from '~/ui/lib/EmptyMessage'
3738
import { Message } from '~/ui/lib/Message'
@@ -85,6 +86,7 @@ const staticCols = [
8586
colHelper.accessor('description', Columns.description),
8687
colHelper.accessor('ip', {
8788
header: 'IP address',
89+
cell: (info) => <CopyableIp ip={info.getValue()} isLinked={false} />,
8890
}),
8991
colHelper.accessor('ipPoolId', {
9092
header: 'IP pool',

0 commit comments

Comments
 (0)