mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-24 09:28:31 +00:00
fixes: Boolean data is not visible in the table widget (#5245)
This commit is contained in:
parent
09f3dec12f
commit
76e795d22a
1 changed files with 1 additions and 2 deletions
|
|
@ -80,7 +80,6 @@ export default function generateColumnsData({
|
||||||
customResolvables[id] = { ...variablesExposedForPreview[id], rowData };
|
customResolvables[id] = { ...variablesExposedForPreview[id], rowData };
|
||||||
exposeToCodeHinter((prevState) => ({ ...prevState, ...customResolvables }));
|
exposeToCodeHinter((prevState) => ({ ...prevState, ...customResolvables }));
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (columnType) {
|
switch (columnType) {
|
||||||
case 'string':
|
case 'string':
|
||||||
case undefined:
|
case undefined:
|
||||||
|
|
@ -151,7 +150,7 @@ export default function generateColumnsData({
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
return <span style={cellStyles}>{cellValue}</span>;
|
return <span style={cellStyles}>{String(cellValue)}</span>;
|
||||||
}
|
}
|
||||||
case 'number': {
|
case 'number': {
|
||||||
const textColor = resolveReferences(column.textColor, currentState, '', { cellValue, rowData });
|
const textColor = resolveReferences(column.textColor, currentState, '', { cellValue, rowData });
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue