π¨ The ultimate agentic social media scheduling tool π€
TypeScript nextjsopen-sourceopen-source-social-media-scheduling-toolosspostiz-cloudpostiz-hostedredisscheduling-toolsocial-media-scheduling-tooltypescript
feat: moving item with interval
Nevo Daviddb0b13578749
diff --git a/apps/frontend/src/components/launches/calendar.tsx b/apps/frontend/src/components/launches/calendar.tsxindex b3f708c77..92f5f96d3 100644--- a/apps/frontend/src/components/launches/calendar.tsx+++ b/apps/frontend/src/components/launches/calendar.tsx@@ -420,6 +420,10 @@ export const CalendarColumn: FC<{}),});if (status !== 500) {+ if(item.interval) {+ reloadCalendarView();+ return ;+ }changeDate(item.id, getDate);return;}@@ -435,23 +439,6 @@ export const CalendarColumn: FC<{canDrop: isBeforeNow ? false : !!monitor.canDrop() && !!monitor.isOver(),}),}));- const getIntegration = useCallback(- async (- post: Post & {- integration: Integration;- }- ) => {- return (- await fetch(- `/integrations/${post.integration.id}?order=${post.submittedForOrderId}`,- {- method: 'GET',- }- )- ).json();- },- []- );const editPost = useCallback((@@ -830,6 +817,7 @@ const CalendarItem: FC<{type: 'post',item: {id: post.id,+ interval: !!post.intervalInDays,date,},collect: (monitor) => ({