developmentseed / observe

Cross-platform, offline, field mapping tool for OpenStreetMap
ISC License
66 stars 5 forks source link

In the add way mode, deleting an added node throws an error #324

Open geohacker opened 4 years ago

geohacker commented 4 years ago

Steps to reproduce:

  1. Add a few nodes
  2. Select a node
  3. Delete
  4. See the error

Pretty sure it comes from here https://github.com/developmentseed/observe/blob/edit-ways/app/components/WayEditingOverlay.js#L124 because for a new node, properties.ways don't exist.