aodn / nrmn-application

A web application for collation, validation, and storage of all data obtained during surveys conducted by the NRMN
GNU General Public License v3.0
4 stars 3 forks source link

Handle measurement undo for corrections sheet #1168

Closed nspool closed 1 year ago

nspool commented 1 year ago

Measurements are stored as an object on corrections rows, but as a flat property on ingest rows. This PR adds a check to clone and update the measurement object (if present) so that undo works for measurement values in corrections.