Skip to content

Commit

Permalink
fix(ui): undefined scene value with booleans
Browse files Browse the repository at this point in the history
Fixes #320
  • Loading branch information
robertsLando committed Jan 22, 2021
1 parent 7413edc commit cd11214
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/components/ValueId.vue
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,11 @@ export default {
},
methods: {
updateValue (v, customValue) {
// needed for on/off control to update the newValue
if (customValue !== undefined) {
v.newValue = customValue
}
this.$emit('updateValue', v, customValue)
}
}
Expand Down

0 comments on commit cd11214

Please sign in to comment.