Skip to content

Commit

Permalink
fix appearance of 0 if no elements
Browse files Browse the repository at this point in the history
  • Loading branch information
anna-liepina committed Jan 15, 2024
1 parent d0d3266 commit 1527869
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 1527869

Please sign in to comment.