Merge pull request #8137 from Budibase/fix/remove-link-filtering-from-user-bindings
Removed filter excluding links from user bindings.
This commit is contained in:
commit
810fdf5590
|
@ -396,7 +396,6 @@ export const getUserBindings = () => {
|
||||||
|
|
||||||
bindings = keys.reduce((acc, key) => {
|
bindings = keys.reduce((acc, key) => {
|
||||||
const fieldSchema = schema[key]
|
const fieldSchema = schema[key]
|
||||||
if (fieldSchema.type !== "link") {
|
|
||||||
acc.push({
|
acc.push({
|
||||||
type: "context",
|
type: "context",
|
||||||
runtimeBinding: `${safeUser}.${makePropSafe(key)}`,
|
runtimeBinding: `${safeUser}.${makePropSafe(key)}`,
|
||||||
|
@ -408,7 +407,6 @@ export const getUserBindings = () => {
|
||||||
category: "Current User",
|
category: "Current User",
|
||||||
icon: "User",
|
icon: "User",
|
||||||
})
|
})
|
||||||
}
|
|
||||||
return acc
|
return acc
|
||||||
}, [])
|
}, [])
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue