mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 17:08:34 +00:00
Listview selected row storing incorrect values fix (#2495)
This commit is contained in:
parent
1c83d01026
commit
910a2b5917
1 changed files with 2 additions and 0 deletions
|
|
@ -143,6 +143,8 @@ export const Listview = function Listview({
|
|||
if (selectedRowIndex != undefined) {
|
||||
exposedVariables.selectedRecordId = selectedRowIndex;
|
||||
exposedVariables.selectedRecord = childrenData[selectedRowIndex];
|
||||
exposedVariables.selectedRowId = selectedRowIndex;
|
||||
exposedVariables.selectedRow = childrenData[selectedRowIndex];
|
||||
}
|
||||
setExposedVariables(exposedVariables);
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
|
|
|
|||
Loading…
Reference in a new issue