Follow-up fixes for the organization state sync work: - reviewOrganizationJoinRequest no longer increments member_count when approving a role-upgrade request (only genuine "join" approvals add a member); callers pass the request_type so upgrades are excluded. - setCurrentOrganization now merges the detail payload onto the existing card instead of replacing it, so list-only aggregate badges (share_count / agent_share_count / pending_join_request_count) are not transiently blanked when a detail response omits them. - OrganizationSettingsModal clears the previous organization context when reopening in edit mode for a different org, avoiding a stale frame before the detail request resolves. Adds pure-helper unit tests for mergeById and reviewMemberCountDelta. |
||
|---|---|---|
| .. | ||
| packages | ||
| public | ||
| src | ||
| .dockerignore | ||
| .gitignore | ||
| Dockerfile | ||
| docker-entrypoint.sh | ||
| embed.html | ||
| env.d.ts | ||
| index.html | ||
| nginx.conf | ||
| package-lock.json | ||
| package.json | ||
| package.json.md5 | ||
| pnpm-workspace.yaml | ||
| tsconfig.app.json | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite.config.ts | ||