Skip to content

Quality of life and bug fixes#57

Merged
russss merged 1 commit into
emfcamp:mainfrom
boreq:fixes
Jun 23, 2026
Merged

Quality of life and bug fixes#57
russss merged 1 commit into
emfcamp:mainfrom
boreq:fixes

Conversation

@boreq

@boreq boreq commented Jun 23, 2026

Copy link
Copy Markdown
Contributor
  • Read village location from GeoJSON location.coordinates instead of nonexistent lng/lat fields, so the editor prefills existing positions
  • Only send location on save when one is set, avoiding null Point errors
  • Sort the village admin dropdown alphabetically by name
  • Use the local backend for villages in dev mode

- Read village location from GeoJSON location.coordinates instead of
  nonexistent lng/lat fields, so the editor prefills existing positions
- Only send location on save when one is set, avoiding null Point errors
- Sort the village admin dropdown alphabetically by name
- Use the local backend for villages in dev mode
@boreq

boreq commented Jun 23, 2026

Copy link
Copy Markdown
Contributor Author

Note: I believe currently clearing village locations wasn't supported anyway because as far as I could tell sending null, null would cause a backend error. I may be wrong. If I'm wrong my changes break clearing village location.

@russss russss merged commit 3ba47ef into emfcamp:main Jun 23, 2026
1 check passed
@boreq boreq deleted the fixes branch June 24, 2026 07:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants