mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-15 00:56:26 +08:00
fix(core): description of cancel is incorrect when cloud subscription is activated (#6530)
This commit is contained in:
+1
-3
@@ -254,9 +254,7 @@ const SubscriptionSettings = () => {
|
||||
]()}
|
||||
desc={t[
|
||||
'com.affine.payment.billing-setting.cancel-subscription.description'
|
||||
]({
|
||||
cancelDate: new Date(subscription.end).toLocaleDateString(),
|
||||
})}
|
||||
]()}
|
||||
>
|
||||
<CancelSubscription />
|
||||
</SettingRow>
|
||||
|
||||
+3
-1
@@ -116,7 +116,9 @@ export function getPlanDetail(t: T) {
|
||||
: detail.price;
|
||||
return (
|
||||
<>
|
||||
{t['com.affine.payment.cloud.pro.title.price-monthly']({ price })}
|
||||
{t['com.affine.payment.cloud.pro.title.price-monthly']({
|
||||
price: '$' + price,
|
||||
})}
|
||||
{recurring === SubscriptionRecurring.Yearly ? (
|
||||
<span className={planTitleTitleCaption}>
|
||||
{t['com.affine.payment.cloud.pro.title.billed-yearly']()}
|
||||
|
||||
Reference in New Issue
Block a user