Prevent duplicate apps in features list by excluding all existing types

FixSecurityService
Shipped
March 26, 2026 at 9:54 PM UTC
Author
Kamo
Commit
a975ef8

The available list was only excluding features with enabled=true, so a disabled feature (isActive=false) appeared in both the features array AND the available array, causing duplicates. Now excludes all types that have OrgFeature rows regardless of enabled state.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing