We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eefe632 commit 4782998Copy full SHA for 4782998
components/dashboard/src/admin/UserDetail.tsx
@@ -190,7 +190,9 @@ export default function UserDetail(p: { user: User }) {
190
>
191
{accountStatement?.subscriptions
192
? accountStatement.subscriptions
193
- .filter((s) => Subscription.isActive(s, new Date().toISOString()))
+ .filter(
194
+ (s) => !s.deleted && Subscription.isActive(s, new Date().toISOString()),
195
+ )
196
.map((s) => Plans.getById(s.planId)?.name)
197
.join(", ")
198
: "---"}
0 commit comments