for admins min 1 org user. for self-serve 30 (#14567)

This commit is contained in:
Peer Richelsen
2024-04-16 01:53:22 +01:00
committed by GitHub
parent 5fede84bf6
commit 9684aa3ad5
@@ -203,7 +203,7 @@ const CreateANewOrganizationFormChild = ({ session }: { session: Ensure<SessionC
name="seats"
type="number"
label="Seats (optional)"
min={MINIMUM_NUMBER_OF_ORG_SEATS}
min={isAdmin ? 1 : MINIMUM_NUMBER_OF_ORG_SEATS}
defaultValue={value || MINIMUM_NUMBER_OF_ORG_SEATS}
onChange={(e) => {
onChange(+e.target.value);