Skip to content

Commit

Permalink
Make IP on Floating IPs page copyable (#2501)
Browse files Browse the repository at this point in the history
  • Loading branch information
charliepark authored Oct 11, 2024
1 parent f6e1917 commit 63475c6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/pages/project/floating-ips/FloatingIpsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ import { IpPoolCell } from '~/table/cells/IpPoolCell'
import { useColsWithActions, type MenuAction } from '~/table/columns/action-col'
import { Columns } from '~/table/columns/common'
import { PAGE_SIZE, useQueryTable } from '~/table/QueryTable'
import { CopyableIp } from '~/ui/lib/CopyableIp'
import { CreateLink } from '~/ui/lib/CreateButton'
import { EmptyMessage } from '~/ui/lib/EmptyMessage'
import { Message } from '~/ui/lib/Message'
Expand Down Expand Up @@ -85,6 +86,7 @@ const staticCols = [
colHelper.accessor('description', Columns.description),
colHelper.accessor('ip', {
header: 'IP address',
cell: (info) => <CopyableIp ip={info.getValue()} isLinked={false} />,
}),
colHelper.accessor('ipPoolId', {
header: 'IP pool',
Expand Down

0 comments on commit 63475c6

Please sign in to comment.