{t['com.affine.payment.member.description.go-upgrade']()}
@@ -167,7 +180,7 @@ export const CloudWorkspaceMembersPanel = ({
) : null}
);
- }, [handleUpgrade, quota, t, upgradable]);
+ }, [handleUpgradeConfirm, quota, t, upgradable]);
return (
<>
@@ -179,12 +192,23 @@ export const CloudWorkspaceMembersPanel = ({
{isOwner ? (
<>
-
+ {isLimited ? (
+
+ ) : (
+
+ )}
>
) : null}
diff --git a/packages/frontend/i18n/src/resources/en.json b/packages/frontend/i18n/src/resources/en.json
index b4baf26319..38da25994c 100644
--- a/packages/frontend/i18n/src/resources/en.json
+++ b/packages/frontend/i18n/src/resources/en.json
@@ -799,6 +799,11 @@
"com.affine.payment.upgrade-success-page.support": "If you have any questions, please contact our <1> customer support1>.",
"com.affine.payment.upgrade-success-page.text": "Congratulations! Your AFFiNE account has been successfully upgraded to a Pro account.",
"com.affine.payment.upgrade-success-page.title": "Upgrade Successful!",
+ "com.affine.payment.member-limit.title": "You have reached the limit",
+ "com.affine.payment.member-limit.free.description": "Each {{planName}} user can invite up to {{quota}} members to join their workspace. You can upgrade your account to unlock more members.",
+ "com.affine.payment.member-limit.pro.description": "Each {{planName}} user can invite up to {{quota}} members to join their workspace. If you want to continue adding collaboration members, you can create a new workspace.",
+ "com.affine.payment.member-limit.free.confirm": "Upgrade",
+ "com.affine.payment.member-limit.pro.confirm": "Got it",
"com.affine.publicLinkDisableModal.button.cancel": "Cancel",
"com.affine.publicLinkDisableModal.button.disable": "Disable",
"com.affine.publicLinkDisableModal.description": "Disabling this public link will prevent anyone with the link from accessing this page.",