Skip to content

Commit e4e912c

Browse files
authored
Remove Badge from IP Pool cell (#2247)
1 parent dcf09ec commit e4e912c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ import { InstanceLinkCell } from '~/table/cells/InstanceLinkCell'
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 { Badge } from '~/ui/lib/Badge'
3635
import { CreateLink } from '~/ui/lib/CreateButton'
3736
import { EmptyMessage } from '~/ui/lib/EmptyMessage'
3837
import { Listbox } from '~/ui/lib/Listbox'
@@ -81,13 +80,12 @@ FloatingIpsPage.loader = async ({ params }: LoaderFunctionArgs) => {
8180
const IpPoolCell = ({ ipPoolId }: { ipPoolId: string }) => {
8281
const pool = useApiQuery('projectIpPoolView', { path: { pool: ipPoolId } }).data
8382
if (!pool) return <EmptyCell />
84-
const badge = <Badge color="neutral">{pool.name}</Badge>
8583
return pool.description ? (
8684
<Tooltip content={pool.description} placement="right">
87-
<span>{badge}</span>
85+
<span>{pool.name}</span>
8886
</Tooltip>
8987
) : (
90-
badge
88+
<>{pool.name}</>
9189
)
9290
}
9391

0 commit comments

Comments
 (0)