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

AttachedActivity component tries to render activity.object as string #301

Open
MartinCupela opened this issue Sep 22, 2021 · 0 comments
Open
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@MartinCupela
Copy link
Collaborator

Component AttachedActivity is rendered by Notification component. It renders the content of activity.object if there are no attachments and if the activity.verb is not one of: 'post', 'repost', 'comment'. This is however incorrect because e.g. activity.verb === 'repost' then typeof activity.object is object and the render fails.

image
image
image

@arnautov-anton arnautov-anton added bug Something isn't working enhancement New feature or request labels Sep 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants