clone: regression causing error when some widgets have a non-string id
This commit is contained in:
parent
aee968cba9
commit
a73e2755dc
3 changed files with 7 additions and 2 deletions
|
|
@ -79,7 +79,7 @@ class Clone extends Container() {
|
|||
|
||||
var {id, widget} = e
|
||||
|
||||
if (id.includes(this.getProp('widgetId')) && this.isValidCloneTarget(widget)) {
|
||||
if (String(id).includes(this.getProp('widgetId')) && this.isValidCloneTarget(widget)) {
|
||||
|
||||
this.getCloneTarget()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue