1
0
Fork 0
mirror of synced 2024-07-03 05:20:32 +12:00

Change bindable properties order

This commit is contained in:
Andrew Kingston 2021-11-10 14:57:46 +00:00
parent 611337c140
commit 2b59d44e06
2 changed files with 4 additions and 4 deletions

View file

@ -31,11 +31,11 @@ export const getBindableProperties = (asset, componentId) => {
const deviceBindings = getDeviceBindings() const deviceBindings = getDeviceBindings()
const stateBindings = getStateBindings() const stateBindings = getStateBindings()
return [ return [
...stateBindings,
...deviceBindings,
...urlBindings,
...contextBindings, ...contextBindings,
...urlBindings,
...stateBindings,
...userBindings, ...userBindings,
...deviceBindings,
] ]
} }

View file

@ -27,7 +27,7 @@
if (!nested) { if (!nested) {
return bindings return bindings
} }
return [...(bindings || []), ...(componentBindings || [])] return [...(componentBindings || []), ...(bindings || [])]
} }
// Handle a value change of any type // Handle a value change of any type