Skip to content

Commit

Permalink
fix appearance of 0 if no elements (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
anna-liepina authored Jan 15, 2024
1 parent ba4729b commit 7529962
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ export const CtfFooter = (props: FooterFieldsFragment) => {
<p className={classes.copyright}>
{t('legal.copyright', { year: new Date().getFullYear() })}
</p>
{footerContent?.legalLinks?.featuredPagesCollection?.items?.length && (
{!!footerContent?.legalLinks?.featuredPagesCollection?.items?.length && (
<nav role="navigation" className={classes.legalMenuWrapper}>
<ul className={classes.legalMenu}>
{renderMenuGroupLinks(
Expand Down

0 comments on commit 7529962

Please sign in to comment.