mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
Fix file input click event in ThumbnailUpdate component
This commit is contained in:
parent
513d65704f
commit
f8ba29b015
5 changed files with 107 additions and 3 deletions
|
|
@ -23,7 +23,7 @@ export function CourseOverviewTop({ params }: { params: CourseOverviewParams })
|
|||
<div className='flex'>
|
||||
<div className='flex py-5 grow items-center'>
|
||||
<Link href={getUriWithOrg(org?.slug, "") + `/course/${params.courseuuid}`}>
|
||||
{course?.courseStructure?.thumbnail ?
|
||||
{course?.courseStructure?.thumbnail_image ?
|
||||
<img className="w-[100px] h-[57px] rounded-md drop-shadow-md" src={`${getCourseThumbnailMediaDirectory(org?.org_uuid, "course_" + params.courseuuid, course.courseStructure.thumbnail_image)}`} alt="" />
|
||||
:
|
||||
<Image width={100} className="h-[57px] rounded-md drop-shadow-md" src={EmptyThumbnailImage} alt="" />}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue