Skip to content

Commit

Permalink
Article List Block: remove image requirement for all displays
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickbrown-io committed Aug 16, 2024
1 parent 93d60c1 commit 1e2d692
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions js/ucb-article-list-block.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ class ArticleListBlockElement extends HTMLElement {

// Process each article
const promises = data.data.map(async (item) => {
if (item.relationships.field_ucb_article_thumbnail.data) {
const thisArticleCats =
item.relationships.field_ucb_article_categories?.data.map(
(cat) => cat.meta.drupal_internal__target_id
Expand Down Expand Up @@ -124,7 +123,6 @@ class ArticleListBlockElement extends HTMLElement {
body: body.trim(),
};
}
}
return null;
});

Expand Down

0 comments on commit 1e2d692

Please sign in to comment.