Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix(core): beliver plan should not show cancel subscription (#7576)

CatsJuiceb0ad36425d62
diff --git a/packages/frontend/core/src/components/affine/setting-modal/general-setting/billing/index.tsx b/packages/frontend/core/src/components/affine/setting-modal/general-setting/billing/index.tsx
index f7992269eb..22d2a05dfb 100644
--- a/packages/frontend/core/src/components/affine/setting-modal/general-setting/billing/index.tsx
+++ b/packages/frontend/core/src/components/affine/setting-modal/general-setting/billing/index.tsx
@@ -221,7 +221,8 @@ const SubscriptionSettings = () => {
})}
/>
)}
- {proSubscription.end && proSubscription.canceledAt ? (
+ {isBeliever ? null : proSubscription.end &&
+ proSubscription.canceledAt ? (
<SettingRow
name={t['com.affine.payment.billing-setting.expiration-date']()}
desc={t[