did thigns

This commit is contained in:
2025-07-07 21:32:09 +02:00
parent 91e0bf315d
commit 957af1c257
7 changed files with 105 additions and 31 deletions

View File

@@ -92,6 +92,7 @@ export type SerializableTask = {
export type DraggedTask = {
target: Task,
active: boolean,
dragInfo: {
top: number,
date: DateTime
@@ -100,7 +101,7 @@ export type DraggedTask = {
}
function stringToDate(date: string | undefined) {
if (date === undefined) {
if (date === undefined || date === null) {
return undefined
}
return DateTime.fromISO(date)