mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-10-07 13:59:43 +00:00
take empty date strings into account
This commit is contained in:
@@ -278,7 +278,7 @@ const store = createStore({
|
||||
type: conc.person.type
|
||||
},
|
||||
start_date: {
|
||||
datetime: datetimeToISO(ISOToDate(state.startDate))
|
||||
datetime: state.startDate === null || state.startDate === '' ? null : datetimeToISO(ISOToDate(state.startDate))
|
||||
}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user