Skip to content

Commit

Permalink
fix: Add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
fzavalia committed Jun 21, 2023
1 parent 19e2916 commit a39b4e7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Collection/Collection.router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -638,10 +638,12 @@ export class CollectionRouter extends Router {

if (tags?.includes('pride23')) {
consolidated = consolidated.filter((c) => {
// If it has not been reviewed we don't care about filtering it.
if (!c.reviewed_at) {
return true
}

// Will not return any pride items that were updated after being reviewed.
return c.updated_at <= c.reviewed_at
})
}
Expand Down

0 comments on commit a39b4e7

Please sign in to comment.