forked from MapComplete/MapComplete
UX: attempt to fix #2394
This commit is contained in:
parent
4604fc62e5
commit
156493ef06
6 changed files with 31 additions and 25 deletions
|
|
@ -31,7 +31,7 @@ export abstract class OsmObject {
|
|||
const objects: OsmObject[] = []
|
||||
const allNodes: Map<number, OsmNode> = new Map<number, OsmNode>()
|
||||
|
||||
for (const element of elements) {
|
||||
for (const element of elements ?? []) {
|
||||
const type = element.type
|
||||
const idN = element.id
|
||||
let osmObject: OsmObject = null
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue