Skip to content

SmythOS Studio: Open-Source Visual AI Agent Builder and deployable runtime stack from SmythOS. Start with an intuitive drag-and-drop workspace, extend with custom code, and deploy your agents anywhere — local, cloud, or edge — with full governance and control.

block delete account is subscription is in past due state

ali-inkcob945e022b0b4
diff --git a/packages/app/src/react/features/account/components/userInfoCard.tsx b/packages/app/src/react/features/account/components/userInfoCard.tsx
index 2ecd6be9..fed4f7ea 100644
--- a/packages/app/src/react/features/account/components/userInfoCard.tsx
+++ b/packages/app/src/react/features/account/components/userInfoCard.tsx
@@ -52,7 +52,9 @@ const UserInfoCard = () => {
const isActiveSubscription = (subs) => {
return (
- subs.object?.status === 'active' && !subs.object?.cancel_at_period_end && subs.plan?.paid
+ (subs.object?.status === 'active' || subs.object?.status === 'past_due') &&
+ !subs.object?.cancel_at_period_end &&
+ subs.plan?.paid
);
};