single element args array unpacking (fixes cross app sync for widgets that don't accept arrays)
This commit is contained in:
parent
db2330a0e9
commit
cbbe42d038
1 changed files with 1 additions and 1 deletions
|
|
@ -19,10 +19,10 @@ module.exports = {
|
|||
if (WIDGETS_BY_PATH[ref]) {
|
||||
pathref = ref
|
||||
args = data.args.slice(i,data.args.length)
|
||||
args = args.length==1?args[0]:args
|
||||
continue
|
||||
}
|
||||
}
|
||||
args = args.length==1?args[0]:args
|
||||
} else {
|
||||
args = data.args
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue