rwadurian/backend/mpc-system/services
hailin 30ec0a1c8e fix(service-party-app): 修复 participants 为 undefined 导致的崩溃
问题:
- Session.tsx 和 Home.tsx 直接访问 participants.length
- 当后端返回的 session 数据中 participants 为 undefined 时崩溃
- 导致 TypeError: Cannot read properties of undefined (reading length)

修复:
- 添加空值检查 (session.participants || []).length
- 使用 Math.max(0, ...) 防止负数长度

Generated with Claude Code

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-29 11:30:30 -08:00
..
account fix(mpc-system): 修复 co_managed_keygen 参与者 party_index 映射问题 2025-12-29 09:06:13 -08:00
message-router fix(server-party): co_managed_keygen 等待所有参与者加入后再开始 keygen 2025-12-29 09:55:52 -08:00
server-party fix(server-party): co_managed_keygen 等待所有参与者加入后再开始 keygen 2025-12-29 09:55:52 -08:00
server-party-api fix(context): use parent context instead of Background() to allow proper cancellation 2025-12-06 06:36:34 -08:00
service-party-app fix(service-party-app): 修复 participants 为 undefined 导致的崩溃 2025-12-29 11:30:30 -08:00
session-coordinator fix(session-coordinator): 修复 FindExpired SQL 时区问题 2025-12-29 10:07:28 -08:00
tss-wasm feat(admin-web): 添加 TSS WASM 集成,实现与 Service-Party-App 功能对等 2025-12-29 01:39:43 -08:00