Skip to content

fix(getVectorLayers): guard null JSON in loader; preserve panchayat #354

Open
Athina09 wants to merge 2 commits intocore-stack-org:developmentfrom
Athina09:bugfix/getvectorlayers-safe-json
Open

fix(getVectorLayers): guard null JSON in loader; preserve panchayat #354
Athina09 wants to merge 2 commits intocore-stack-org:developmentfrom
Athina09:bugfix/getvectorlayers-safe-json

Conversation

@Athina09
Copy link
Copy Markdown

Summary

  • Avoid calling readFeatures when WFS fetch returns non-OK / null JSON.
  • Keep PanchayatBoundariesStyle by applying default style only in else.

File

  • src/actions/getVectorLayers.js

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.

1 participant