diff --git a/app/[locale]/(protected)/contributor/agenda-setting/calender-view.tsx b/app/[locale]/(protected)/contributor/agenda-setting/calender-view.tsx index 87df5001..fdc17169 100644 --- a/app/[locale]/(protected)/contributor/agenda-setting/calender-view.tsx +++ b/app/[locale]/(protected)/contributor/agenda-setting/calender-view.tsx @@ -94,6 +94,7 @@ interface ListItemProps { item: any; text: string; createdBy: string; + isPublish: boolean; bgColor: string; } @@ -341,7 +342,7 @@ const CalendarView = ({ categories }: CalendarViewProps) => { <>
{title}
{text}
Created By: {createdBy}
@@ -475,6 +478,7 @@ const CalendarView = ({ categories }: CalendarViewProps) => { item={event} text={event.title} createdBy={event.createdByName} + isPublish={event.isPublish} bgColor={getEventColor(event.agendaType)} /> ))} @@ -504,6 +508,7 @@ const CalendarView = ({ categories }: CalendarViewProps) => { item={event} text={event.title} createdBy={event.createdByName} + isPublish={event.isPublish} bgColor={getEventColor(event.agendaType)} /> ))}