Skip to content

Commit

Permalink
Fix rendering of empty IP pool description (#2528)
Browse files Browse the repository at this point in the history
fix rendering of empty IP pool description
  • Loading branch information
david-crespo authored Oct 30, 2024
1 parent 6eeab20 commit ca7f6e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/form/fields/ip-pool-item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export function toIpPoolItem(p: SiloIpPool) {
</Badge>
)}
</div>
{p.description.length && (
{!!p.description && (
<div className="text-tertiary selected:text-accent-secondary">{p.description}</div>
)}
</div>
Expand Down

0 comments on commit ca7f6e2

Please sign in to comment.