Change bindable properties order

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

View File

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

View File

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