inspector: prevent error
This commit is contained in:
parent
910c0e2468
commit
58b1f0d025
1 changed files with 1 additions and 1 deletions
|
|
@ -239,7 +239,7 @@ class UiInspector extends UiWidget {
|
|||
this.trigger('update', {
|
||||
propName: input.name,
|
||||
value: v,
|
||||
preventHistory: event.detail && event.detail.preventHistory
|
||||
preventHistory: event && event.detail && event.detail.preventHistory
|
||||
})
|
||||
|
||||
// this may not be reached if an error is thrown
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue