KamoCRM

CapabilityCheck takes options whose capabilities may be absent

Fixkamo-internal
Shipped
November 11, 2026 at 9:53 AM UTC
Author
Kamo
Commit
ae7b8c5

AccountFilterSection passes AudienceOptionsLike, where capabilities is optional, and the build failed type-checking on it. hasCapability already reads a missing list as the legacy capabilities, so only the type widens.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing