Skip to content

Remove Slow this.contentNode.checklistItems()#9394

Draft
pmattmann wants to merge 2 commits into
ecamp:develfrom
pmattmann:bugfix-remove-slow-navigation
Draft

Remove Slow this.contentNode.checklistItems()#9394
pmattmann wants to merge 2 commits into
ecamp:develfrom
pmattmann:bugfix-remove-slow-navigation

Conversation

@pmattmann
Copy link
Copy Markdown
Member

With $hrefs(..) it would be simpler.
// return this.campChecklistItems.filter((item) => {
// // item.$hrefs('checklistNodes').includes(this.contentNode._meta.self)
// return this.api.get(item._storeData.checklistNodes.href)._storeData.items.some((cn) => cn.href == this.contentNode._meta.self)
// })

For Now, add aditional filter on Camp.

}).items ?? []
)

// return this.campChecklistItems.filter((item) => {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i don't like the comment here, else it looks good.

@pmattmann pmattmann marked this pull request as draft April 11, 2026 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants