mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 17:08:34 +00:00
bug fixed: Unable to set a toggle switch column to false when initiated to true (#5470)
This commit is contained in:
parent
e6742105c7
commit
5d7a5cd565
1 changed files with 1 additions and 2 deletions
|
|
@ -69,9 +69,8 @@ export default function generateColumnsData({
|
|||
key: column.key,
|
||||
Cell: function (cell) {
|
||||
const rowChangeSet = changeSet ? changeSet[cell.row.index] : null;
|
||||
let cellValue = rowChangeSet ? rowChangeSet[column.name] || cell.value : cell.value;
|
||||
let cellValue = rowChangeSet ? rowChangeSet[column.name] ?? cell.value : cell.value;
|
||||
const rowData = tableData[cell.row.index];
|
||||
|
||||
if (
|
||||
cell.row.index === 0 &&
|
||||
variablesExposedForPreview &&
|
||||
|
|
|
|||
Loading…
Reference in a new issue