mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
fix: course avatar issue
This commit is contained in:
parent
a269757c86
commit
f0fc7c1d99
2 changed files with 13 additions and 5 deletions
|
|
@ -277,6 +277,7 @@ const CourseClient = (props: any) => {
|
|||
<UserAvatar
|
||||
border="border-8"
|
||||
avatar_url={course.authors[0].avatar_image ? getUserAvatarMediaDirectory(course.authors[0].user_uuid, course.authors[0].avatar_image) : ''}
|
||||
predefined_avatar={course.authors[0].avatar_image ? undefined : 'empty'}
|
||||
width={100}
|
||||
/>
|
||||
<div className="-space-y-2 ">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue