MSFREACH / msf-reach

Web platform for MSF-REACH
https://msf-reach.org/
4 stars 5 forks source link

information not copied over on close #635

Closed matthewberryman closed 6 years ago

matthewberryman commented 6 years ago

On event close, no information is copied over as https://github.com/MSFREACH/msf-reach/blob/a076ee6f0ce706613ac39fd5b1be83f4adb4d225/public/resources/js/events.js#L1068 sets metadata to empty but https://github.com/MSFREACH/msf-reach/blob/a076ee6f0ce706613ac39fd5b1be83f4adb4d225/src/api/routes/events/index.js#L133 expects metadata to copy to the mission at https://github.com/MSFREACH/msf-reach/blob/a076ee6f0ce706613ac39fd5b1be83f4adb4d225/src/api/routes/missions/model.js#L76

matthewberryman commented 6 years ago

Nope, the problem lies elsewhere (that bit of code I referred to above in events.js and changed in bf4ec8b is unusued as that modal is unused)