forked from MapComplete/MapComplete
Fix: studio now handles arrays better (might fix #2102)
This commit is contained in:
parent
e09af8fcb9
commit
0c9e41a6ce
3 changed files with 14 additions and 10 deletions
|
@ -204,7 +204,7 @@ export abstract class EditJsonState<T> {
|
|||
|
||||
for (let i = 0; i < path.length - 1; i++) {
|
||||
const breadcrumb = path[i]
|
||||
if (entry[breadcrumb] === undefined) {
|
||||
if (entry[breadcrumb] === undefined || entry[breadcrumb] === null) {
|
||||
if (isUndefined) {
|
||||
// we have a dead end _and_ we do not need to set a value - we do an early return
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue