File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed
apps/dashboard/src/app/(app)
login/onboarding/team-onboarding
team/[team_slug]/(team)/~/settings/members Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -87,8 +87,7 @@ export function InviteTeamMembersUI(props: {
87
87
client = { props . client }
88
88
customCTASection = {
89
89
< div className = "flex gap-3" >
90
- { ( props . team . billingPlan === "free" ||
91
- props . team . billingPlan === "starter" ) && (
90
+ { props . team . billingPlan === "free" && (
92
91
< Button
93
92
className = "gap-2"
94
93
onClick = { ( ) => {
Original file line number Diff line number Diff line change @@ -85,10 +85,7 @@ export function InviteSection(props: {
85
85
let bottomSection : React . ReactNode = null ;
86
86
const maxAllowedInvitesAtOnce = 10 ;
87
87
// invites are enabled if user has edit permission and team plan is not "free"
88
- const inviteEnabled =
89
- teamPlan !== "free" &&
90
- teamPlan !== "starter" &&
91
- props . userHasEditPermission ;
88
+ const inviteEnabled = teamPlan !== "free" && props . userHasEditPermission ;
92
89
93
90
const form = useForm < InviteFormValues > ( {
94
91
defaultValues : {
@@ -111,7 +108,7 @@ export function InviteSection(props: {
111
108
} ,
112
109
} ) ;
113
110
114
- if ( teamPlan === "free" || teamPlan === "starter" ) {
111
+ if ( teamPlan === "free" ) {
115
112
bottomSection = (
116
113
< div className = "lg:px6 flex items-center justify-between gap-4 border-border border-t px-4 py-4" >
117
114
< p className = "text-muted-foreground text-sm" >
You can’t perform that action at this time.
0 commit comments