Add comments
This commit is contained in:
parent
42f781bb76
commit
2dbf9a5118
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue