mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
chore(core-blocks): table's item selection behavior
This commit is contained in:
@@ -55,9 +55,9 @@ export const TableItem = observer(function TableItem({
|
||||
(e: React.MouseEvent<HTMLTableRowElement>) => {
|
||||
if (!selectDisabled) {
|
||||
const isSelected = context.selectedItems.get(item);
|
||||
if (!e.ctrlKey) {
|
||||
context.clearSelection();
|
||||
}
|
||||
// if (!e.ctrlKey) {
|
||||
// context.clearSelection();
|
||||
// }
|
||||
|
||||
context.setItemSelect(item, !isSelected);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user