changing bindings key

This commit is contained in:
Peter Clement 2022-02-11 15:37:43 +00:00
parent 350edc2aec
commit 2ead1c59be
2 changed files with 5 additions and 4 deletions

View File

@ -333,12 +333,10 @@ const getRowBindings = () => {
bindings = [ bindings = [
{ {
type: "context", type: "context",
runtimeBinding: `${safeState}.${makePropSafe("row")}`, runtimeBinding: `${safeState}`,
readableBinding: "Rows", readableBinding: "Row Selection.Rows",
}, },
] ]
return bindings
} }
return bindings return bindings
} }

View File

@ -24,5 +24,8 @@ export const enrichDataBinding = async (input, context) => {
* Props are deeply cloned so that no mutation is done to the source object. * Props are deeply cloned so that no mutation is done to the source object.
*/ */
export const enrichDataBindings = (props, context) => { export const enrichDataBindings = (props, context) => {
console.log(props)
console.log(context)
return processObjectSync(cloneDeep(props), context) return processObjectSync(cloneDeep(props), context)
} }