Altinn / app-frontend-react

Altinn application React frontend
BSD 3-Clause "New" or "Revised" License
18 stars 31 forks source link

BugFix: change key for geojson so it updates on change #2729

Closed MartinRoberg closed 5 days ago

MartinRoberg commented 6 days ago

Description

Using altinnrowid from datamodel instead of index+label as key for geojson-components to make sure the geometries update when changed. Added altinnrowid to geometry and rawgeometry type, and updated utils.ts for map to take altinnrowid into geometry from rawgeometry.

Related Issue(s)

Verification/QA