File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed
apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.limits Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ export default function Page() {
132132 </ PageAccessories >
133133 </ NavBar >
134134 < PageBody scrollable = { true } >
135- < div className = "mx-auto mt-10 max-w-3xl p-4" >
135+ < div className = "mx-auto mt-10 max-w-2xl p-4" >
136136 < div className = "flex flex-col gap-8" >
137137 { /* Current Plan Section */ }
138138 { data . planName && (
@@ -607,6 +607,18 @@ function QuotaRow({
607607 const isUpgradable = upgradableQuotas . includes ( quota . name ) ;
608608
609609 const renderUpgrade = ( ) => {
610+ // Projects always show Contact us (regardless of upgrade flags)
611+ if ( quota . name === "Projects" ) {
612+ return (
613+ < div className = "flex justify-end" >
614+ < Feedback
615+ button = { < Button variant = "secondary/small" > Contact us</ Button > }
616+ defaultValue = "help"
617+ />
618+ </ div >
619+ ) ;
620+ }
621+
610622 if ( ! isUpgradable ) {
611623 return null ;
612624 }
@@ -622,8 +634,8 @@ function QuotaRow({
622634 ) ;
623635 }
624636
625- // On top plan - show Contact us if canExceed is true (or for Projects which is always exceedable)
626- if ( quota . canExceed || quota . name === "Projects" ) {
637+ // On top plan - show Contact us if canExceed is true
638+ if ( quota . canExceed ) {
627639 return (
628640 < div className = "flex justify-end" >
629641 < Feedback
You can’t perform that action at this time.
0 commit comments