@eric-emg/symphiq-components 1.2.448 → 1.2.450
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/symphiq-components.mjs +9 -3
- package/fesm2022/symphiq-components.mjs.map +1 -1
- package/index.d.ts +11 -11
- package/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -89153,9 +89153,15 @@ class ProfileQuestionCardComponent {
|
|
|
89153
89153
|
const allUsers = this.users();
|
|
89154
89154
|
if (!q.id || !answers)
|
|
89155
89155
|
return [];
|
|
89156
|
-
|
|
89157
|
-
|
|
89158
|
-
.
|
|
89156
|
+
const matched = answers.filter(a => a.profileQuestionId === q.id);
|
|
89157
|
+
if (matched.length > 0) {
|
|
89158
|
+
console.log('[ProfileQuestionCard] user lookup:', {
|
|
89159
|
+
usersCount: allUsers.length,
|
|
89160
|
+
userIds: allUsers.map(u => u.id),
|
|
89161
|
+
creatorUserIds: matched.map(a => a.creatorUserId)
|
|
89162
|
+
});
|
|
89163
|
+
}
|
|
89164
|
+
return matched.map(answer => ({
|
|
89159
89165
|
answer,
|
|
89160
89166
|
user: allUsers.find(u => u.id === answer.creatorUserId)
|
|
89161
89167
|
}));
|