@operato/scene-integration 1.3.14 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -206,13 +206,13 @@ export default class ScenarioRun extends DataSource(RectPath(Shape)) {
206
206
  const { maskOnError } = this.state
207
207
  if (maskOnError) {
208
208
  //@ts-ignore
209
- this.root.target_element.style.filter = maskOnError
209
+ this.root?.target_element?.style.filter = maskOnError
210
210
  }
211
211
  }
212
212
 
213
213
  demask() {
214
214
  //@ts-ignore
215
- this.root.target_element.style.filter = 'none'
215
+ this.root?.target_element?.style.filter = 'none'
216
216
  }
217
217
  }
218
218