diff --git a/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/store/index.js b/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/store/index.js index 02002e5ca..04785eca5 100644 --- a/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/store/index.js +++ b/src/Bundle/ChillPersonBundle/Resources/public/vuejs/AccompanyingCourse/store/index.js @@ -28,8 +28,6 @@ let initPromise = getAccompanyingCourse(id) }, closeParticipation(state, { participation, payload }) { console.log('### mutation: close item', { participation, payload }); - // temporaire, le temps que le backend ajoute la enddate - participation.endDate = { datetime: "2021-05-06T10:49:00+0200" }; // trouve dans le state le payload et le supprime du state state.accompanyingCourse.participations = state.accompanyingCourse.participations.filter(participation => participation !== payload); // pousse la participation