We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae9aa41 commit 0bb5fc1Copy full SHA for 0bb5fc1
apps/webapp/app/routes/_app.orgs.$organizationSlug.settings.team/route.tsx
@@ -238,7 +238,17 @@ export default function Page() {
238
))}
239
</Property.Table>
240
</AdminDebugTooltip>
241
- {!requiresUpgrade && (
+ {requiresUpgrade ? (
242
+ <SimpleTooltip
243
+ button={
244
+ <ButtonContent variant="primary/small" LeadingIcon={UserPlusIcon} className="cursor-not-allowed opacity-50">
245
+ Invite a team member
246
+ </ButtonContent>
247
+ }
248
+ content="Purchase more seats to invite more team members"
249
+ disableHoverableContent
250
+ />
251
+ ) : (
252
<LinkButton
253
to={inviteTeamMemberPath(organization)}
254
variant="primary/small"
0 commit comments