Skip to content

Commit

Permalink
Merge pull request #79 from CenterForDigitalHumanities/bug-fix-navplace
Browse files Browse the repository at this point in the history
bug fix
  • Loading branch information
yashaswini-slu authored Apr 24, 2024
2 parents d5f3f62 + ea6fc7b commit c7a9f06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/components/layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ class PointPicker extends HTMLElement {
case 'LineString':
break //coordinates are already in correct form for LineString
case 'Polygon':
geo.coordinates = [...geo.coordinates, ...[geo.coordinates[0]]]
geo.coordinates = [[...geo.coordinates, ...[geo.coordinates[0]]]]
break
default:
geo.coordinates = geo.coordinates[0]
Expand Down

0 comments on commit c7a9f06

Please sign in to comment.