mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-24 09:28:31 +00:00
clean up
This commit is contained in:
parent
d4e9f45ae2
commit
061636d025
1 changed files with 0 additions and 1 deletions
|
|
@ -245,7 +245,6 @@ export const resolveReferences = (query, validationSchema, customResolvers = {},
|
||||||
}
|
}
|
||||||
const { toResolveReference, jsExpression, jsExpMatch } = inferJSExpAndReferences(value, lookupTable.hints);
|
const { toResolveReference, jsExpression, jsExpMatch } = inferJSExpAndReferences(value, lookupTable.hints);
|
||||||
|
|
||||||
// const isComponentValue = toResolveReference?.startsWith('components.') || false; //!Notes: As we removed the updating of references on currentState changes, exposed variable of components are dynamic and cannot be controlled in any form, so we are resolving only components references with our legacy approach.
|
|
||||||
if (!jsExpMatch && toResolveReference && lookupTable.hints.has(toResolveReference)) {
|
if (!jsExpMatch && toResolveReference && lookupTable.hints.has(toResolveReference)) {
|
||||||
const idToLookUp = lookupTable.hints.get(toResolveReference);
|
const idToLookUp = lookupTable.hints.get(toResolveReference);
|
||||||
resolvedValue = lookupTable.resolvedRefs.get(idToLookUp);
|
resolvedValue = lookupTable.resolvedRefs.get(idToLookUp);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue