Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The new adf-node-comments component does not display user avatar #8786

Open
romainbrochot opened this issue Jul 25, 2023 · 1 comment
Open
Labels

Comments

@romainbrochot
Copy link

romainbrochot commented Jul 25, 2023

Type of issue: (check with "[x]")

  • New feature request
  • Bug
  • Support request
  • Documentation

Current behaviour:
The new adf-node-comments component does not display user avatar
The object sent to the getContentUrl service is neither a string or a NodeEntry.
A Person object is actually sent to the service resulting in the nodeId variable being undefined.

Expected behavior:
The new adf-node-comments component should display user avatar

Steps to reproduce the issue:
just use the component in a template

Component name and version:
adf-node-comments - ADF v6.1.0

Browser and version:
all

Node version (for build issues):
16.20.1

@DenysVuika DenysVuika added the bug label Jul 25, 2023
@DenysVuika
Copy link
Contributor

the avatars are fetched only if the user model has pictureId or avatarId properties, otherwise we display the initials

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants