diff --git a/frontend/src/proprietary/components/shared/config/configSections/PeopleSection.tsx b/frontend/src/proprietary/components/shared/config/configSections/PeopleSection.tsx
index ea93291c7..fa870a371 100644
--- a/frontend/src/proprietary/components/shared/config/configSections/PeopleSection.tsx
+++ b/frontend/src/proprietary/components/shared/config/configSections/PeopleSection.tsx
@@ -465,7 +465,7 @@ export default function PeopleSection() {
}
onClick={() => setInviteModalOpened(true)}
- disabled={licenseInfo && licenseInfo.availableSlots === 0}
+ disabled={licenseInfo ? licenseInfo.availableSlots === 0 : false}
>
{t('workspace.people.addMembers')}
diff --git a/frontend/src/proprietary/components/shared/config/configSections/TeamDetailsSection.tsx b/frontend/src/proprietary/components/shared/config/configSections/TeamDetailsSection.tsx
index 5eda1a10c..77e8cccf3 100644
--- a/frontend/src/proprietary/components/shared/config/configSections/TeamDetailsSection.tsx
+++ b/frontend/src/proprietary/components/shared/config/configSections/TeamDetailsSection.tsx
@@ -252,7 +252,7 @@ export default function TeamDetailsSection({ teamId, onBack }: TeamDetailsSectio
}
onClick={() => setAddMemberModalOpened(true)}
- disabled={team.name === 'Internal' || (licenseInfo && licenseInfo.availableSlots === 0)}
+ disabled={team.name === 'Internal' || (licenseInfo ? licenseInfo.availableSlots === 0 : false)}
>
{t('workspace.teams.addMember')}