Skip to content

Commit

Permalink
MWPW-164814 Fix JP Article Feed
Browse files Browse the repository at this point in the history
  • Loading branch information
meganthecoder committed Jan 8, 2025
1 parent 1700c92 commit 3a3a000
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blog/blocks/dx-blog-article-feed/dx-blog-article-feed.js
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ async function buildFilter(type, tax, block, config) {
return container;
}

const isInList = (list, val) => list && list.map((t) => t.toLowerCase()).includes(val);
const isInList = (list, val) => list && list.map((t) => t?.toLowerCase()).includes(val);

async function filterArticles(feed, limit, offset) {
/* filter posts by category, tag and author */
Expand Down

0 comments on commit 3a3a000

Please sign in to comment.