Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.
TypeScript accessibilityalternativecloudflarecloudflare-workersdesignfreefrontendopen-sourceradix-uireactremixweb-developmentwebflowwebsite-builderwebsite-developmentwebsiteswebstudio
chore: seats logic (#5706)
Oleg Isonen3a3a72d6f1f0
diff --git a/apps/builder/app/services/workspace-router.server.ts b/apps/builder/app/services/workspace-router.server.tsindex 5989894542..efbc8623f9 100644--- a/apps/builder/app/services/workspace-router.server.ts+++ b/apps/builder/app/services/workspace-router.server.ts@@ -312,9 +312,10 @@ export const workspaceRouter = router({success: true as const,data: {...members,- // Falls back to seatsIncluded (seats included in the plan) when no- // subscription event exists yet (free plan, AppSumo, etc.).- maxSeats: paidSeats ?? ctx.planFeatures.seatsIncluded,+ // seatsIncluded = seats covered by the Team plan.+ // paidSeats = extra seats from the Seats subscription.+ // Total capacity = included + extras.+ maxSeats: ctx.planFeatures.seatsIncluded + (paidSeats ?? 0),},};} catch (error) {