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:
parent
f849a2a9fd
commit
9015888b23
|
|
@ -1262,7 +1262,9 @@ function setupIpcHandlers() {
|
||||||
publicKey: share.public_key_hex,
|
publicKey: share.public_key_hex,
|
||||||
createdAt: share.created_at,
|
createdAt: share.created_at,
|
||||||
lastUsedAt: share.last_used_at,
|
lastUsedAt: share.last_used_at,
|
||||||
participants: JSON.parse(share.participants_json || '[]'),
|
metadata: {
|
||||||
|
participants: JSON.parse(share.participants_json || '[]'),
|
||||||
|
},
|
||||||
}));
|
}));
|
||||||
return { success: true, data: formatted };
|
return { success: true, data: formatted };
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue