- if (!plan.active) return false;
+ if (plan.paused) return false;
const seats = workspace.members.length;
+ const limit = resolveSeatLimit(plan);
return seats <= limit;
{'}'}
Thinking
Check billing edge cases before changing the guard.
Grepping
Found existing tests covering paused plans.
Done