more fixes
This commit is contained in:
@@ -69,6 +69,7 @@ export default function MainCalendar({ onCalendarReady }) {
|
||||
}, [openFocus])
|
||||
|
||||
const handleEventDrop = useCallback(async ({ event, oldEvent }) => {
|
||||
const { deliverableId } = event.extendedProps
|
||||
const newDate = event.startStr.substring(0, 10)
|
||||
const oldDate = oldEvent.startStr.substring(0, 10)
|
||||
await storeUpdate(deliverableId, { due_date: newDate })
|
||||
|
||||
@@ -4,6 +4,7 @@ import ProjectModal from './ProjectModal'
|
||||
import Button from '../UI/Button'
|
||||
import AgendaPanel from '../Calendar/AgendaPanel'
|
||||
import useProjectStore from '../../store/useProjectStore'
|
||||
import useUIStore from '../../store/useUIStore'
|
||||
|
||||
const VIEW_OPTIONS = [
|
||||
{ key: 'active', label: 'Active' },
|
||||
|
||||
Reference in New Issue
Block a user