Skip to content

Commit

Permalink
fix rendering of empty IP pool description
Browse files Browse the repository at this point in the history
  • Loading branch information
david-crespo committed Oct 30, 2024
1 parent 6eeab20 commit bba1e59
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 bba1e59

Please sign in to comment.