Skip to content

Commit

Permalink
Update timeline_id.js
Browse files Browse the repository at this point in the history
  • Loading branch information
marcustyphoon committed Sep 16, 2024
1 parent 27c9254 commit d215a50
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/utils/timeline_id.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ export const tagTimelineFilter = tag =>
timelineId?.match(exactly(`tag-${uuidV4}-${tag}-recent`));

export const anyCommunityTimelineFilter = ({ dataset: { timeline, timelineId } }) =>
timelineId?.match(exactly(`communities-${anyBlog}-recent`));
timelineId?.match(exactly(`communities-${anyBlog}-recent`)) ||
timelineId?.match(exactly(`community-${uuidV4}-${anyBlog}`));

export const communitiesTimelineFilter = ({ dataset: { timeline, timelineId } }) =>
timelineId === 'communities-for_you';

0 comments on commit d215a50

Please sign in to comment.