diff --git a/frontend/src/Editor/Components/Table/Table.jsx b/frontend/src/Editor/Components/Table/Table.jsx index df9f189ecb..7aeb94ba75 100644 --- a/frontend/src/Editor/Components/Table/Table.jsx +++ b/frontend/src/Editor/Components/Table/Table.jsx @@ -352,12 +352,13 @@ export function Table({ Cell: function (cell) { const rowChangeSet = changeSet ? changeSet[cell.row.index] : null; const cellValue = rowChangeSet ? rowChangeSet[column.name] || cell.value : cell.value; + const rowData = tableData[cell.row.index]; switch (columnType) { case 'string': case undefined: case 'default': { - const textColor = resolveReferences(column.textColor, currentState, '', { cellValue }); + const textColor = resolveReferences(column.textColor, currentState, '', { cellValue, rowData }); const cellStyles = { color: textColor ?? '',