File tree 1 file changed +21
-14
lines changed
npm-packages/dashboard/src/pages/t/[team]
1 file changed +21
-14
lines changed Original file line number Diff line number Diff line change @@ -54,20 +54,27 @@ export default withAuthenticatedPage(() => {
54
54
{ team && nonDemoProjects && (
55
55
< div className = "w-full" >
56
56
{ entitlements &&
57
- nonDemoProjects . length >= entitlements . maxProjects && (
58
- < Callout className = "mb-4" variant = "upsell" >
59
- < div className = "flex gap-1" >
60
- You've reached the project limit for this team.
61
- < Link
62
- href = { `/${ team ?. slug } /settings/billing` }
63
- className = "items-center text-content-link"
64
- >
65
- Upgrade
66
- </ Link >
67
- to create more projects.
68
- </ div >
69
- </ Callout >
70
- ) }
57
+ nonDemoProjects . length >= entitlements . maxProjects &&
58
+ subscription ? (
59
+ < Callout className = "mb-4" variant = "upsell" >
60
+ You've reached a soft limit on the number of projects you
61
+ can create for this team. Please contact support to increase
62
+ this limit.
63
+ </ Callout >
64
+ ) : (
65
+ < Callout className = "mb-4" variant = "upsell" >
66
+ < div className = "flex gap-1" >
67
+ You've reached the project limit for this team.
68
+ < Link
69
+ href = { `/${ team ?. slug } /settings/billing` }
70
+ className = "items-center text-content-link"
71
+ >
72
+ Upgrade
73
+ </ Link >
74
+ to create more projects.
75
+ </ div >
76
+ </ Callout >
77
+ ) }
71
78
72
79
{ isReferralsBannerVisible && (
73
80
< ReferralsBanner
You can’t perform that action at this time.
0 commit comments