-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Site Editor: Fix template author avatar check #37458
Conversation
@jameskoster, do you think we should display a fallback icon in this case? |
Comment Author Avatar seems like a good candidate. |
Size Change: +230 B (0%) Total Size: 1.13 MB
ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! Code looks good, just a bit nitpicking below, totally optional.
Thanks for fixing this. I completely forgot about a similar fix I worked on. This PR reminded me so I've pushed the branch - #37474. The changes there should make this fix easier. I can't remember if I'd finished it though, so let me familarise myself again. |
Co-authored-by: Kai Hao <[email protected]>
Co-authored-by: Kai Hao <[email protected]>
484b829
to
e38aa82
Compare
PR is ready for final review and merging. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
* Site Editor: Fix template author avatar check * Fallback to icon * Update packages/edit-site/src/components/list/added-by.js Co-authored-by: Kai Hao <[email protected]> * Update packages/edit-site/src/components/list/added-by.js Co-authored-by: Kai Hao <[email protected]> * Use avatarURL Co-authored-by: Kai Hao <[email protected]>
* Site Editor: Fix template author avatar check * Fallback to icon * Update packages/edit-site/src/components/list/added-by.js Co-authored-by: Kai Hao <[email protected]> * Update packages/edit-site/src/components/list/added-by.js Co-authored-by: Kai Hao <[email protected]> * Use avatarURL Co-authored-by: Kai Hao <[email protected]>
Description
Closes #37452
Fixes error on Template list screen when user avatars are disabled.
How has this been tested?
Screenshots
Types of changes
Bugfix
Checklist:
*.native.js
files for terms that need renaming or removal).