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): show self hosted license seats (#10146)

JimmFlyea95ff39c59f
diff --git a/packages/frontend/core/src/desktop/dialogs/setting/workspace-setting/license/self-host-team-card.tsx b/packages/frontend/core/src/desktop/dialogs/setting/workspace-setting/license/self-host-team-card.tsx
index 290eb4d08a..4fef244e24 100644
--- a/packages/frontend/core/src/desktop/dialogs/setting/workspace-setting/license/self-host-team-card.tsx
+++ b/packages/frontend/core/src/desktop/dialogs/setting/workspace-setting/license/self-host-team-card.tsx
@@ -163,8 +163,9 @@ export const SelfHostTeamCard = () => {
]()}
</span>
<span>
- {workspaceQuota?.memberCount}
- {isTeam ? '' : `/${workspaceQuota?.memberLimit}`}
+ {isTeam
+ ? license?.quantity || ''
+ : `${workspaceQuota?.memberCount}/${workspaceQuota?.memberLimit}`}
</span>
</div>
</div>