Skip to content

Commit

Permalink
MWPW-138962: Bacom-blog Article Feed Issue (#1513)
Browse files Browse the repository at this point in the history
* Adding some logic to determine which project is loading article feed

* Adding null operator
  • Loading branch information
JasonHowellSlavin committed Nov 15, 2023
1 parent 30f15af commit f85acd9
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 @@ -90,7 +90,7 @@ function loadArticleTaxonomy(article) {

const articleTax = computeTaxonomyFromTopics(topics, path);

clonedArticle.category = articleTax.category;
clonedArticle.category ??= articleTax.category;

// topics = tags as an array
clonedArticle.topics = topics;
Expand Down

0 comments on commit f85acd9

Please sign in to comment.