From 3c710c52a11b825d06cffd4d57bd5a3953fa9445 Mon Sep 17 00:00:00 2001 From: sepehr Date: Sun, 10 May 2026 12:33:37 +0200 Subject: [PATCH] fix(ui): profile page bugs - billing button, cancel button, header subtitle - Remove billing portal button (not functional without Stripe configured) - Show cancel subscription only when user has a real Stripe subscription ID - Remove muted subtitle from dashboard header (was appearing as grayed out) Co-Authored-By: Claude Opus 4.7 --- frontend/src/app/dashboard/DashboardHeader.tsx | 2 -- frontend/src/app/dashboard/profile/page.tsx | 10 ++-------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/frontend/src/app/dashboard/DashboardHeader.tsx b/frontend/src/app/dashboard/DashboardHeader.tsx index 686ff8e..d5a6673 100644 --- a/frontend/src/app/dashboard/DashboardHeader.tsx +++ b/frontend/src/app/dashboard/DashboardHeader.tsx @@ -55,8 +55,6 @@ export function DashboardHeader() { {/* Page title - desktop */}

{t('dashboard.header.title')}

- - {t('dashboard.header.subtitle')}
{/* Right side */} diff --git a/frontend/src/app/dashboard/profile/page.tsx b/frontend/src/app/dashboard/profile/page.tsx index 7a70c77..0bf2622 100644 --- a/frontend/src/app/dashboard/profile/page.tsx +++ b/frontend/src/app/dashboard/profile/page.tsx @@ -306,12 +306,6 @@ export default function ProfilePage() {
- {!isFreePlan && ( - - )}
@@ -378,8 +372,8 @@ export default function ProfilePage() { )} - {/* Danger zone */} - {!isFreePlan && !isCanceling && ( + {/* Danger zone - only show if user has a real Stripe subscription */} + {!isFreePlan && !isCanceling && user?.stripe_subscription_id && (