diff --git a/src/UI/Studio/EditLayerState.ts b/src/UI/Studio/EditLayerState.ts index 2b5b2134f..2af21a35f 100644 --- a/src/UI/Studio/EditLayerState.ts +++ b/src/UI/Studio/EditLayerState.ts @@ -103,7 +103,7 @@ export abstract class EditJsonState { // Walk the path down to see if we find something let entry = this.configuration.data for (let i = 0; i < path.length; i++) { - if (entry === undefined) { + if (entry === undefined || entry === null) { // We reached a dead end - no old vlaue return undefined }