forked from MapComplete/MapComplete
Small UI tweaks for studio, improve linting and typing
This commit is contained in:
parent
b03ff4f148
commit
15aa141e15
5 changed files with 14 additions and 14 deletions
|
@ -292,7 +292,7 @@ class ContextRewritingStep<T> extends Conversion<LayerConfigJson, T> {
|
|||
return undefined
|
||||
}
|
||||
const newPath = [...path]
|
||||
const idToSearch = newTagRenderings[newPath[1]].id
|
||||
const idToSearch = newTagRenderings[newPath[1]]?.id ?? ""
|
||||
const oldIndex = originalIds.indexOf(idToSearch)
|
||||
if (oldIndex < 0) {
|
||||
console.warn("Original ID was not found: ", idToSearch)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue