Skip to content

Commit

Permalink
MWPW-139317 Remove 0 from article card (#1585)
Browse files Browse the repository at this point in the history
  • Loading branch information
meganthecoder authored Dec 4, 2023
1 parent 659efde commit a590648
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/blocks/article-feed/article-helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ export function buildArticleCard(article, type = 'article', eager = false) {
${categoryTag}
</p>
<h3>${title}</h3>
<p class="${type}-card-description">${description}</p>
<p class="${type}-card-description">${description && description !== '0' ? description : ''}</p>
<p class="${type}-card-date">${formatCardLocaleDate(date)}
</div>`;
return card;
Expand Down

0 comments on commit a590648

Please sign in to comment.