Skip to content

Commit ca7f6e2

Browse files
authored
Fix rendering of empty IP pool description (#2528)
fix rendering of empty IP pool description
1 parent 6eeab20 commit ca7f6e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/components/form/fields/ip-pool-item.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export function toIpPoolItem(p: SiloIpPool) {
2121
</Badge>
2222
)}
2323
</div>
24-
{p.description.length && (
24+
{!!p.description && (
2525
<div className="text-tertiary selected:text-accent-secondary">{p.description}</div>
2626
)}
2727
</div>

0 commit comments

Comments
 (0)