diff --git a/src/app/[locale]/tenants/[name]/page.tsx b/src/app/[locale]/tenants/[name]/page.tsx index 96e570f..e40f711 100644 --- a/src/app/[locale]/tenants/[name]/page.tsx +++ b/src/app/[locale]/tenants/[name]/page.tsx @@ -43,6 +43,19 @@ export default async function TenantDetailPage({ // the same page but with edit controls hidden / fields read-only. const canEdit = canMutate(user); + // TEMP DIAGNOSTIC for budget-card non-rendering. Logs the prop + // values that flow into UsageDisplay so we can see which one is + // turning the editable variant off. Remove once cause is found. + console.log( + "[tenant page] budget edit props", + JSON.stringify({ + tenantName: name, + canEdit, + isPlatform: user.isPlatform, + roles: user.roles, + }) + ); + // Bug 31: customer-side cancel/resume control. Same gate as canEdit // — only owners (or platform staff) may toggle the subscription. // The current state comes from spec.suspend on the CR. @@ -199,7 +212,7 @@ export default async function TenantDetailPage({

{t("usage")}

- + {/* Packages */}