switchers: remove double deep copy
This commit is contained in:
parent
6da5802f8c
commit
50f7f85eaf
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ module.exports = class _switchers_base extends _widgets_base {
|
|||
|
||||
if (this.value._selected !== false && this.value[this.value._selected] && widget.abstract._isSwitcher !== true && this.isWatching(id, widget)) {
|
||||
|
||||
this.value[this.value._selected][id] = JSON.parse(JSON.stringify(widget.abstract.getValue()))
|
||||
this.value[this.value._selected][id] = widget.abstract.getValue()
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue