fix(service-party-app): fix participants display in Home page

listShares returned `participants` but Home.tsx expected `metadata.participants`

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
hailin 2025-12-30 10:07:11 -08:00
parent f849a2a9fd
commit 9015888b23
1 changed files with 3 additions and 1 deletions

View File

@ -1262,7 +1262,9 @@ function setupIpcHandlers() {
publicKey: share.public_key_hex,
createdAt: share.created_at,
lastUsedAt: share.last_used_at,
participants: JSON.parse(share.participants_json || '[]'),
metadata: {
participants: JSON.parse(share.participants_json || '[]'),
},
}));
return { success: true, data: formatted };
} catch (error) {