From 80169209a265020fd25c1f7ac7158f4317734393 Mon Sep 17 00:00:00 2001 From: Sabda Yagra Date: Wed, 16 Jul 2025 08:03:50 +0700 Subject: [PATCH] url detail-video --- .../(protected)/contributor/agenda-setting/event-modal.tsx | 4 ++-- components/main/video-detail.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/[locale]/(protected)/contributor/agenda-setting/event-modal.tsx b/app/[locale]/(protected)/contributor/agenda-setting/event-modal.tsx index e4dffbcc..42785aa9 100644 --- a/app/[locale]/(protected)/contributor/agenda-setting/event-modal.tsx +++ b/app/[locale]/(protected)/contributor/agenda-setting/event-modal.tsx @@ -351,8 +351,8 @@ const EventModal = ({ id: detailData?.id, title: data.title, description: data.description, - agendaType: agendaTypeList.join(","), // <-- ubah array jadi string - assignedToLevel: assignedToLevelList.join(","), // <-- ubah array jadi string + agendaType: agendaTypeList.join(","), + assignedToLevel: assignedToLevelList.join(","), startDate: date?.from ? format(date.from, "yyyy-MM-dd") : null, endDate: date?.to ? format(date.to, "yyyy-MM-dd") : null, }; diff --git a/components/main/video-detail.tsx b/components/main/video-detail.tsx index 075b671a..87a16a37 100644 --- a/components/main/video-detail.tsx +++ b/components/main/video-detail.tsx @@ -469,7 +469,7 @@ const DetailVideo = () => { {/* Bagian Kiri */}
- +