mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 00:48:25 +00:00
Fix array dataUpdates storing duplicate values (#436)
This commit is contained in:
parent
8c9a566850
commit
053d756d78
1 changed files with 4 additions and 1 deletions
|
|
@ -139,7 +139,10 @@ export function Table({
|
|||
|
||||
obj = _.set(rowData, key, value);
|
||||
|
||||
let newDataUpdates = [...dataUpdates, { ...obj }];
|
||||
let newDataUpdates = {
|
||||
...dataUpdates,
|
||||
[index]: { ...obj }
|
||||
};
|
||||
|
||||
onComponentOptionsChanged(component, [
|
||||
['dataUpdates', newDataUpdates],
|
||||
|
|
|
|||
Loading…
Reference in a new issue