Fix: Select Table Widget when a row is selected (#3871)

This commit is contained in:
Vicky Bansal 2021-04-09 16:03:22 +05:30 committed by GitHub
parent 4bddfa0a4e
commit 43720123d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -233,10 +233,9 @@ export const Table = (props: TableProps) => {
: ""
}`
}
onClick={(e) => {
onClick={() => {
row.toggleRowSelected();
props.selectTableRow(row);
e.stopPropagation();
}}
key={rowIndex}
>