mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
fix creation of evaluation in js
This commit is contained in:
parent
505384c2a0
commit
5a1ce399f6
@ -69,7 +69,6 @@ const store = createStore({
|
||||
return [];
|
||||
},
|
||||
buildPayload(state) {
|
||||
console.log('end date', state.endDate);
|
||||
return {
|
||||
type: 'accompanying_period_work',
|
||||
id: state.work.id,
|
||||
@ -245,7 +244,7 @@ const store = createStore({
|
||||
type: "accompanying_period_work_evaluation",
|
||||
key: state.evaluationsPicked.length + 1,
|
||||
evaluation: evaluation,
|
||||
startDate: new Date(),
|
||||
startDate: dateToISO(new Date()),
|
||||
endDate: null,
|
||||
maxDate: null,
|
||||
warningInterval: null,
|
||||
|
Loading…
x
Reference in New Issue
Block a user