Increase max team member count

pull/4524/head
Kamran Ahmed 1 year ago
parent 3bebe0c1de
commit c286e0a6f8
  1. 6
      src/components/TeamMembers/TeamMembersPage.tsx

@ -44,6 +44,8 @@ export interface TeamMemberItem extends TeamMemberDocument {
hasProgress: boolean;
}
const MAX_MEMBER_COUNT = 100;
export function TeamMembersPage() {
const { t: teamId } = getUrlParams();
@ -307,7 +309,7 @@ export function TeamMembersPage() {
{canManageCurrentTeam && (
<div className="mt-4">
<button
disabled={teamMembers.length >= 25}
disabled={teamMembers.length >= MAX_MEMBER_COUNT}
onClick={() => setIsInvitingMember(true)}
className="block w-full rounded-md border border-dashed border-gray-300 py-2 text-sm transition-colors hover:border-gray-600 hover:bg-gray-50 focus:outline-0"
>
@ -316,7 +318,7 @@ export function TeamMembersPage() {
</div>
)}
{teamMembers.length >= 25 && canManageCurrentTeam && (
{teamMembers.length >= MAX_MEMBER_COUNT && canManageCurrentTeam && (
<p className="mt-2 rounded-lg bg-red-100 p-2 text-red-700">
You have reached the maximum number of members in a team. Please reach
out to us if you need more.

Loading…
Cancel
Save