处理未激活

This commit is contained in:
北枳 2025-09-15 17:18:15 +08:00
parent e164b1ab76
commit 4700c8069a

View File

@ -443,7 +443,7 @@ export function TopBar({ collapsed, isDesktop=true }: { collapsed: boolean, isDe
Upgrade
</button>
{currentUser.plan_name !== "none" && (
{currentUser.plan_name !== "none" && subscriptionStatus !== 'INACTIVE' && (
<button
className="flex-1 bg-transparent border border-gray-400/30 text-gray-300 text-xs py-0.5 h-6 rounded hover:bg-gray-400/10 transition-colors disabled:opacity-50"
onClick={handleManageSubscription}