Skip to content

Commit

Permalink
fix: masonry tiles can have empty footers
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Mitchell <[email protected]>
  • Loading branch information
starpit committed Mar 6, 2025
1 parent 74a590f commit 94841bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdl-live-react/src/view/masonry/MasonryTile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export default function MasonryTile({
</CardHeader>
)

const hasFooter = (footer1Key && footer1Value) || stability
const hasFooter = (footer1Key && footer1Value) || (stability?.length ?? 0) > 0
const footer = hasFooter && (
<DescriptionList isAutoColumnWidths columnModifier={{ default: "3Col" }}>
{footer1Key && (
Expand Down

0 comments on commit 94841bb

Please sign in to comment.