Add comments

This commit is contained in:
Andrew Kingston 2024-06-20 14:37:05 +01:00
parent 42f781bb76
commit 2dbf9a5118
No known key found for this signature in database
1 changed files with 2 additions and 0 deletions

View File

@ -23,7 +23,9 @@
svelteDispatch("select") svelteDispatch("select")
const id = row?._id const id = row?._id
if (id) { if (id) {
// Bulk select with shift
if (e.shiftKey) { if (e.shiftKey) {
// Prevent default if already selected, to prevent checkbox clearing
if (rowSelected) { if (rowSelected) {
e.preventDefault() e.preventDefault()
} else { } else {