1
0
Fork 0
mirror of synced 2024-08-24 06:21:37 +12:00

Save only if valid

This commit is contained in:
Adria Navarro 2024-05-17 16:53:28 +02:00
parent a81626005c
commit 76ac300cf0

View file

@ -347,7 +347,8 @@ export class ExternalRequest<T extends Operation> {
} else if (
field.type === FieldType.DATETIME &&
field.timeOnly &&
row[key]
row[key] &&
dayjs(row[key]).isValid()
) {
newRow[key] = dayjs(row[key]).format("HH:mm")
} else {