fix datepicker for social action edit form.

still a problem with the display of already set evaluation dates... need to be transformed to correct format to display
This commit is contained in:
2022-04-06 11:26:04 +02:00
parent de9d2aa885
commit 65e6471a02
3 changed files with 18 additions and 18 deletions

View File

@@ -439,18 +439,18 @@ export default {
]),
startDate: {
get() {
return dateToISO(this.$store.state.startDate);
return this.$store.state.startDate;
},
set(v) {
this.$store.commit('setStartDate', ISOToDate(v));
this.$store.commit('setStartDate', v);
}
},
endDate: {
get() {
return dateToISO(this.$store.state.endDate);
return this.$store.state.endDate;
},
set(v) {
this.$store.commit('setEndDate', ISOToDate(v));
this.$store.commit('setEndDate', v);
}
},
note: {