mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-30 23:16:43 +00:00
fix(nc-gui): condition order
This commit is contained in:
@@ -125,8 +125,6 @@ export function useMultiSelect(
|
||||
})
|
||||
|
||||
const onKeyDown = async (e: KeyboardEvent) => {
|
||||
if (selected.row === null || selected.col === null) return
|
||||
|
||||
if (
|
||||
!isNaN(selectedRows.startRow) &&
|
||||
!isNaN(selectedRows.startCol) &&
|
||||
@@ -138,6 +136,8 @@ export function useMultiSelect(
|
||||
selected.col = selectedRows.startCol
|
||||
}
|
||||
|
||||
if (selected.row === null || selected.col === null) return
|
||||
|
||||
/** on tab key press navigate through cells */
|
||||
switch (e.key) {
|
||||
case 'Tab':
|
||||
|
||||
Reference in New Issue
Block a user