mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-06 00:02:13 +00:00
fix(frontend): Fix the selection of the first row (#3263)
This commit is contained in:
@@ -204,7 +204,7 @@
|
||||
?.getSelectedNodes()
|
||||
?.find((row) => row?.data?.__index === e?.data?.__index)
|
||||
|
||||
if (e.rowIndex && !isAlreadySelected) {
|
||||
if (e.rowIndex !== null && !isAlreadySelected) {
|
||||
// We select the row when we start editing, for example when we click on a checkbox
|
||||
e.api.getRowNode(e.rowIndex.toString())?.setSelected(true)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user