feat: show user avatar on comments and activity (#331)
Display user profile pictures instead of initials on card comments and activity items. Fetches the user image field from the database and passes imageUrl to the Avatar component. Co-authored-by: Sachin Divekar <sachin.divekar@remiges.tech>
This commit is contained in:
@@ -169,6 +169,7 @@ export const getPaginatedActivities = async (
|
||||
id: true,
|
||||
name: true,
|
||||
email: true,
|
||||
image: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -178,6 +179,7 @@ export const getPaginatedActivities = async (
|
||||
id: true,
|
||||
name: true,
|
||||
email: true,
|
||||
image: true,
|
||||
},
|
||||
},
|
||||
comment: {
|
||||
|
||||
Reference in New Issue
Block a user