diff --git a/components/admin/guide-overview-form.tsx b/components/admin/guide-overview-form.tsx index 357a5b2..aab19e0 100644 --- a/components/admin/guide-overview-form.tsx +++ b/components/admin/guide-overview-form.tsx @@ -410,33 +410,33 @@ export function GuideOverviewForm({ /> {overview.length}/500 ตัวอักษร + + + + YouTube videos + ไม่บังคับ รองรับ YouTube, youtu.be, Shorts และ Live · ลากเพื่อจัดลำดับ + + = 20} onClick={() => setYoutubeLinks((current) => [...current, { id: createVideoLinkId(), url: "" }])}> + + เพิ่มลิงก์ + + + {youtubeLinks.length ? ( + + link.id)} strategy={verticalListSortingStrategy}> + + {youtubeLinks.map((link, index) => ( + setYoutubeLinks((current) => current.map((item) => item.id === link.id ? { ...item, url } : item))} onRemove={() => setYoutubeLinks((current) => current.filter((item) => item.id !== link.id))} /> + ))} + + + + ) : ยังไม่มีวิดีโอใน Overview} + - - - - YouTube videos - ไม่บังคับ รองรับ YouTube, youtu.be, Shorts และ Live · ลากเพื่อจัดลำดับ - - = 20} onClick={() => setYoutubeLinks((current) => [...current, { id: createVideoLinkId(), url: "" }])}> - - เพิ่มลิงก์ - - - {youtubeLinks.length ? ( - - link.id)} strategy={verticalListSortingStrategy}> - - {youtubeLinks.map((link, index) => ( - setYoutubeLinks((current) => current.map((item) => item.id === link.id ? { ...item, url } : item))} onRemove={() => setYoutubeLinks((current) => current.filter((item) => item.id !== link.id))} /> - ))} - - - - ) : ยังไม่มีวิดีโอใน Overview} - Materials Overview
ยังไม่มีวิดีโอใน Overview