mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-24 09:28:31 +00:00
fix: column transformations not working (#10438)
This commit is contained in:
parent
d92f30f984
commit
33fb94eb22
1 changed files with 2 additions and 2 deletions
|
|
@ -484,7 +484,7 @@ export function Table({
|
|||
// Single-level nested property
|
||||
const [nestedKey, subKey] = nestedKeys;
|
||||
const nestedObject = transformedObject?.[nestedKey] || { ...row[nestedKey] }; // Retain existing nested object
|
||||
const newValue = resolveReferences(transformation, row[key], {
|
||||
const newValue = resolveReferences(transformation, undefined, row[key], {
|
||||
cellValue: row?.[nestedKey]?.[subKey],
|
||||
rowData: row,
|
||||
});
|
||||
|
|
@ -496,7 +496,7 @@ export function Table({
|
|||
transformedObject[nestedKey] = nestedObject;
|
||||
} else {
|
||||
// Non-nested property
|
||||
transformedObject[key] = resolveReferences(transformation, row[key], {
|
||||
transformedObject[key] = resolveReferences(transformation, undefined, row[key], {
|
||||
cellValue: row[key],
|
||||
rowData: row,
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue